From 3827f2a322538befe28bffd6d0db4a649a7cd635 Mon Sep 17 00:00:00 2001 From: richardlt Date: Wed, 8 Jul 2020 15:07:52 +0200 Subject: [PATCH] fix(ui): take care of base href to get version --- ui/src/app/service/monitoring/monitoring.service.ts | 2 +- ui/src/app/views/admin/service/list/service.list.html | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ui/src/app/service/monitoring/monitoring.service.ts b/ui/src/app/service/monitoring/monitoring.service.ts index 3c9a2a66a7..1e4ab61fb8 100644 --- a/ui/src/app/service/monitoring/monitoring.service.ts +++ b/ui/src/app/service/monitoring/monitoring.service.ts @@ -11,7 +11,7 @@ export class MonitoringService { getVersion(): Observable { let params = new HttpParams(); params = params.append('ts', new Date().getTime().toString()); - return this._http.get('/mon/version', { params }); + return this._http.get('./mon/version', { params }); } getStatus(): Observable { diff --git a/ui/src/app/views/admin/service/list/service.list.html b/ui/src/app/views/admin/service/list/service.list.html index 360caeb81e..199f557b86 100644 --- a/ui/src/app/views/admin/service/list/service.list.html +++ b/ui/src/app/views/admin/service/list/service.list.html @@ -105,16 +105,16 @@

API Debug

@@ -125,4 +125,4 @@

API Debug

{{ 'common_loading' | translate }}
- \ No newline at end of file +