From 97928d8fff4d7ceec1cc3352b596bc78348e2283 Mon Sep 17 00:00:00 2001 From: Kazgatari <56477241+Kazgatari@users.noreply.github.com> Date: Thu, 4 Jun 2026 00:26:37 +0200 Subject: [PATCH] problem with 404 fixed --- webapp/src/app/shared/services/persons.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/src/app/shared/services/persons.service.ts b/webapp/src/app/shared/services/persons.service.ts index feb5490b..647bad98 100644 --- a/webapp/src/app/shared/services/persons.service.ts +++ b/webapp/src/app/shared/services/persons.service.ts @@ -22,7 +22,7 @@ export class PersonsService { private http: HttpClient, @Optional() @Inject(BASE_PATH) basePath: string | null, ) { - this.basePath = basePath ?? ''; + this.basePath = basePath ?? 'http://localhost:8000'; } getPersons( @@ -38,6 +38,6 @@ export class PersonsService { params = params.set('query', query.trim()); } - return this.http.get(`${this.basePath}/persons`, { params }); + return this.http.get(`${this.basePath}/api/inse-service/persons`, { params }); } }