Fix parsing appid from path with ?

This commit is contained in:
Adria Navarro 2023-12-12 18:37:03 +01:00
parent 50da799216
commit 46f8f4da58
1 changed files with 4 additions and 1 deletions

View File

@ -127,7 +127,10 @@ function parseAppIdFromUrl(url?: string) {
if (!url) { if (!url) {
return return
} }
return url.split("/").find(subPath => subPath.startsWith(APP_PREFIX)) return url
.split("?")[0]
.split("/")
.find(subPath => subPath.startsWith(APP_PREFIX))
} }
/** /**