This commit is contained in:
@@ -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<AuthorPage>(`${this.basePath}/persons`, { params });
|
||||
return this.http.get<AuthorPage>(`${this.basePath}/api/inse-service/persons`, { params });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user