diff --git a/openvidu-components-angular/src/app/services/rest.service.ts b/openvidu-components-angular/src/app/services/rest.service.ts index a078d1c2..39feea0e 100644 --- a/openvidu-components-angular/src/app/services/rest.service.ts +++ b/openvidu-components-angular/src/app/services/rest.service.ts @@ -99,7 +99,7 @@ export class RestService { async logout(): Promise { try { return lastValueFrom( - this.http.post(`${this.baseHref}admin/logout`, {}) + this.http.post(`${this.baseHref}auth/admin/logout`, {}) ); } catch (error) { console.log(error);