From 9ed6331acba059e82471884701adc1f95174183e Mon Sep 17 00:00:00 2001 From: George Nash Date: Wed, 1 Nov 2023 14:31:25 +0000 Subject: [PATCH] removed use of server url from logout call to match login --- ui/src/app/account/service/auth-jwt.service.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) } }