frontend: correct room URL path for token expiration checks
This commit is contained in:
parent
62f5a64708
commit
8761108dcc
@ -112,7 +112,7 @@ export const httpInterceptor: HttpInterceptorFn = (req: HttpRequest<unknown>, ne
|
|||||||
|
|
||||||
// Expired recording token
|
// Expired recording token
|
||||||
if (
|
if (
|
||||||
pageUrl.startsWith('/room') &&
|
pageUrl.startsWith('/room/') &&
|
||||||
pageUrl.includes('/recordings') &&
|
pageUrl.includes('/recordings') &&
|
||||||
requestUrl.includes('/recordings')
|
requestUrl.includes('/recordings')
|
||||||
) {
|
) {
|
||||||
@ -123,7 +123,7 @@ export const httpInterceptor: HttpInterceptorFn = (req: HttpRequest<unknown>, ne
|
|||||||
|
|
||||||
// Expired participant token
|
// Expired participant token
|
||||||
if (
|
if (
|
||||||
pageUrl.startsWith('/room') &&
|
pageUrl.startsWith('/room/') &&
|
||||||
!pageUrl.includes('/recordings') &&
|
!pageUrl.includes('/recordings') &&
|
||||||
!requestUrl.includes('/profile')
|
!requestUrl.includes('/profile')
|
||||||
) {
|
) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user