From 8761108dcce58f0cbf849e3c0e18c698b4585098 Mon Sep 17 00:00:00 2001 From: juancarmore Date: Fri, 4 Jul 2025 14:03:13 +0200 Subject: [PATCH] frontend: correct room URL path for token expiration checks --- .../src/lib/interceptors/http.interceptor.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/projects/shared-meet-components/src/lib/interceptors/http.interceptor.ts b/frontend/projects/shared-meet-components/src/lib/interceptors/http.interceptor.ts index 8354af1..e10902d 100644 --- a/frontend/projects/shared-meet-components/src/lib/interceptors/http.interceptor.ts +++ b/frontend/projects/shared-meet-components/src/lib/interceptors/http.interceptor.ts @@ -112,7 +112,7 @@ export const httpInterceptor: HttpInterceptorFn = (req: HttpRequest, ne // Expired recording token if ( - pageUrl.startsWith('/room') && + pageUrl.startsWith('/room/') && pageUrl.includes('/recordings') && requestUrl.includes('/recordings') ) { @@ -123,7 +123,7 @@ export const httpInterceptor: HttpInterceptorFn = (req: HttpRequest, ne // Expired participant token if ( - pageUrl.startsWith('/room') && + pageUrl.startsWith('/room/') && !pageUrl.includes('/recordings') && !requestUrl.includes('/profile') ) {