fix wrong manifest mimetype check lol
This commit is contained in:
parent
e11199165b
commit
a3735ab79c
|
@ -97,7 +97,7 @@ async function playbackinfopostpaywall(env, type, id, q) {
|
|||
return error(403, 'Couldn\'t get manifest')
|
||||
}
|
||||
|
||||
if (!('application/vnd.tidal.bts', 'application/vnd.tidal.emu').includes(res.json.manifestMimeType)) {
|
||||
if (!['application/vnd.tidal.bts', 'application/vnd.tidal.emu'].includes(res.json.manifestMimeType)) {
|
||||
return error(500, 'Invalid manifest mime type')
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue