unbroke lol

This commit is contained in:
uh wot 2021-09-12 20:12:45 +02:00
parent 344175d002
commit 887cfb802b
Signed by: uhwot
GPG Key ID: CB2454984587B781
2 changed files with 2 additions and 2 deletions

2
dist/worker.js vendored

File diff suppressed because one or more lines are too long

View File

@ -178,7 +178,7 @@ async function track(id, format, tagging) {
track_url = await legacy_track_url(json, format, wasm.legacy_stream_url) track_url = await legacy_track_url(json, format, wasm.legacy_stream_url)
} }
const track = await fetch(result) const track = await fetch(track_url)
if (track.status !== 200) { if (track.status !== 200) {
return new Response("Couldn't get track stream", { status: 403, headers: { 'content-type': 'text/plain' } }) return new Response("Couldn't get track stream", { status: 403, headers: { 'content-type': 'text/plain' } })
} }