From d0318f309628458de7ddfd149389199075dd5b5b Mon Sep 17 00:00:00 2001 From: Constantin Simonis Date: Wed, 22 Jan 2025 09:02:22 +0100 Subject: [PATCH] change base url --- src/app/services/employee-api.service.ts | 2 +- src/app/services/qualification.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/services/employee-api.service.ts b/src/app/services/employee-api.service.ts index b8e6d8b..993f05f 100644 --- a/src/app/services/employee-api.service.ts +++ b/src/app/services/employee-api.service.ts @@ -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 { return this.http.get(`${EmployeeApiService.BASE_URL}/employees/${id}`) diff --git a/src/app/services/qualification.service.ts b/src/app/services/qualification.service.ts index b6ce426..711f52c 100644 --- a/src/app/services/qualification.service.ts +++ b/src/app/services/qualification.service.ts @@ -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 { return this.http.get(`${QualificationService.BASE_URL}/qualifications`).pipe( -- 2.47.2