Fix domain sometimes not shown in window title when using native player

This commit is contained in:
bytedream 2022-07-22 01:41:50 +02:00
parent 17f8aab216
commit 9a17fb0d9b

View File

@ -32,7 +32,7 @@ async function main() {
document.body.innerHTML = ''
document.body.append(player)
} else {
window.location.assign(chrome.runtime.getURL(`ui/player/player.html?id=${match.id}&url=${encodeURIComponent(url)}&domains=${window.location.host}`))
window.location.assign(chrome.runtime.getURL(`ui/player/player.html?id=${match.id}&url=${encodeURIComponent(url)}&domain=${window.location.host}`))
}
}