summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/core/services/homes.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/core/services/homes.service.ts')
-rw-r--r--usecaseui-portal/src/app/core/services/homes.service.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/usecaseui-portal/src/app/core/services/homes.service.ts b/usecaseui-portal/src/app/core/services/homes.service.ts
index 98d60b52..322bbd0a 100644
--- a/usecaseui-portal/src/app/core/services/homes.service.ts
+++ b/usecaseui-portal/src/app/core/services/homes.service.ts
@@ -14,15 +14,14 @@
limitations under the License.
*/
import { Injectable } from '@angular/core';
-import { HttpClient, HttpHeaders, HttpParams, HttpResponse } from '@angular/common/http';
-import { Observable } from 'rxjs/Observable';
-import { baseUrl } from '../models/dataInterface';
+import { HttpClient, HttpParams } from '@angular/common/http';
+import { environment } from '@src/environments/environment';
@Injectable()
export class HomesService {
constructor(private http: HttpClient) { }
- baseUrl = baseUrl.baseUrl;
+ baseUrl = environment.backendUrl;
url = {
home_serviceData: this.baseUrl + "/uui-lcm/serviceNumByCustomer",
home_alarmData: this.baseUrl + "/alarm/statusCount",