From a3735ab79c28b7478ecc2e115954c413d3152ea4 Mon Sep 17 00:00:00 2001 From: uh wot Date: Sat, 4 Nov 2023 04:07:10 +0100 Subject: [PATCH] fix wrong manifest mimetype check lol --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 7c0bb33..5981423 100644 --- a/src/index.js +++ b/src/index.js @@ -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') }