use packer for upstream

This commit is contained in:
sdaqo
2023-04-09 07:44:21 +02:00
parent 544adfa7b2
commit 0d4f22bcf7
3 changed files with 26 additions and 66 deletions

View File

@ -44,7 +44,7 @@ async function main() {
}
document.title = `Stream Bypass (${domain})`
new URL(url).pathname.contains('.m3u8') ? await play_hls(url) : await play_native(url)
new URL(url).pathname.endsWith('.m3u8') ? await play_hls(url) : await play_native(url)
}
main()