diff --git a/ui/src/app/account/service/auth-jwt.service.ts b/ui/src/app/account/service/auth-jwt.service.ts index 93b36fdbe..637fafddd 100644 --- a/ui/src/app/account/service/auth-jwt.service.ts +++ b/ui/src/app/account/service/auth-jwt.service.ts @@ -1,8 +1,6 @@ import { Injectable } from '@angular/core' import { HttpClient, HttpResponse } from '@angular/common/http' import { Observable } from 'rxjs' - -import { SERVER_API_URL } from '../../../app/app.constants' import { ILoginCredentials, ILoginResult } from '../model/login.model' @Injectable({ providedIn: 'root' }) @@ -31,6 +29,6 @@ export class AuthServerProvider { */ logout(): Observable { - return this.http.post(SERVER_API_URL + '/auth/logout', null) + return this.http.post('/auth/logout', null) } }