Make `instance` more important than `b` in embedded player

environments/review-front-wvff-cfe5gn/deployments/13838
wvffle 2022-09-26 18:35:18 +00:00
rodzic 306a2e9738
commit b95249964d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -20,7 +20,7 @@
// Params
const params = new URL(location.href).searchParams
const baseUrl = params.get('b') ?? params.get('instance') ?? ''
const baseUrl = params.get('instance') ?? params.get('b') ?? ''
const type = params.get('type')
const id = params.get('id')