diff --git a/dmp-frontend/src/annotation-service/services/http/annotation.service.ts b/dmp-frontend/src/annotation-service/services/http/annotation.service.ts index fefcc2885..d89f5d059 100644 --- a/dmp-frontend/src/annotation-service/services/http/annotation.service.ts +++ b/dmp-frontend/src/annotation-service/services/http/annotation.service.ts @@ -10,7 +10,7 @@ import { catchError } from "rxjs/operators"; @Injectable() export class AnnotationService { - private get apiBase(): string { return `${this.installationConfiguration.annotationServiceAddress}annotation`; } + private get apiBase(): string { return `${this.installationConfiguration.annotationServiceAddress}api/annotation`; } constructor( private installationConfiguration: ConfigurationService, diff --git a/dmp-frontend/src/app/core/services/inapp-notification/inapp-notification.service.ts b/dmp-frontend/src/app/core/services/inapp-notification/inapp-notification.service.ts index b336696bb..4fde1247d 100644 --- a/dmp-frontend/src/app/core/services/inapp-notification/inapp-notification.service.ts +++ b/dmp-frontend/src/app/core/services/inapp-notification/inapp-notification.service.ts @@ -16,7 +16,7 @@ export class InAppNotificationService { constructor(private http: BaseHttpV2Service, private configurationService: ConfigurationService) { } - private get apiBase(): string { return `${this.configurationService.notificationServiceAddress}inapp-notification`; } + private get apiBase(): string { return `${this.configurationService.notificationServiceAddress}api/inapp-notification`; } query(q: InAppNotificationLookup): Observable> { diff --git a/dmp-frontend/src/app/core/services/notification-template/notification-template.service.ts b/dmp-frontend/src/app/core/services/notification-template/notification-template.service.ts index 86feccb69..19647d062 100644 --- a/dmp-frontend/src/app/core/services/notification-template/notification-template.service.ts +++ b/dmp-frontend/src/app/core/services/notification-template/notification-template.service.ts @@ -15,7 +15,7 @@ export class NotificationTemplateService { constructor(private http: BaseHttpV2Service, private configurationService: ConfigurationService) { } - private get apiBase(): string { return `${this.configurationService.notificationServiceAddress}notification-template`; } + private get apiBase(): string { return `${this.configurationService.notificationServiceAddress}api/notification-template`; } query(q: NotificationTemplateLookup): Observable> { const url = `${this.apiBase}/query`; diff --git a/dmp-frontend/src/app/core/services/notification/notification-service.ts b/dmp-frontend/src/app/core/services/notification/notification-service.ts index af3aa747b..59fba800c 100644 --- a/dmp-frontend/src/app/core/services/notification/notification-service.ts +++ b/dmp-frontend/src/app/core/services/notification/notification-service.ts @@ -14,7 +14,7 @@ export class NotificationService { constructor(private http: BaseHttpV2Service, private configurationService: ConfigurationService) { } - private get apiBase(): string { return `${this.configurationService.notificationServiceAddress}notification`; } + private get apiBase(): string { return `${this.configurationService.notificationServiceAddress}api/notification`; } query(q: NotificationLookup): Observable> { const url = `${this.apiBase}/query`;