Make `instance` more important than `b` in embedded player
This commit is contained in:
parent
306a2e9738
commit
b95249964d
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
// Params
|
// Params
|
||||||
const params = new URL(location.href).searchParams
|
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 type = params.get('type')
|
||||||
const id = params.get('id')
|
const id = params.get('id')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue