unbroke lol
This commit is contained in:
parent
344175d002
commit
887cfb802b
File diff suppressed because one or more lines are too long
2
index.js
2
index.js
|
@ -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' } })
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue