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') ) {