change base url

This commit is contained in:
Constantin Simonis 2025-01-22 09:02:22 +01:00
parent d25fe3ff64
commit d0318f3096
Signed by: csimonis
GPG Key ID: 758DD9C506603183
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ import {Employee} from "../employee/Employee";
export default class EmployeeApiService {
private http: HttpClient = inject(HttpClient);
private static readonly BASE_URL = 'http://localhost:8089';
private static readonly BASE_URL = '/backend';
public getById(id: number): Observable<Employee> {
return this.http.get(`${EmployeeApiService.BASE_URL}/employees/${id}`)

View File

@ -11,7 +11,7 @@ import {Employee} from "../employee/Employee";
export default class QualificationService {
private http: HttpClient = inject(HttpClient);
private static readonly BASE_URL = 'http://localhost:8089';
private static readonly BASE_URL = '/backend';
public getAll(): Observable<Qualification[]> {
return this.http.get<Qualification[]>(`${QualificationService.BASE_URL}/qualifications`).pipe(