From fe9a472beddcfa4ce6d17a9c34f59a3d9a30cb3e Mon Sep 17 00:00:00 2001 From: Snazzah Date: Wed, 15 May 2024 20:17:56 -0500 Subject: [PATCH] chore: deepscan error fixed --- src/modules/sub/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/sub/utils.js b/src/modules/sub/utils.js index 4f4fe529..0e5f72f8 100644 --- a/src/modules/sub/utils.js +++ b/src/modules/sub/utils.js @@ -135,7 +135,7 @@ export function cleanHTML(html) { clean = clean.replace(/\n/g, ''); return clean } -export async function getRedirectingURL(url) { +export function getRedirectingURL(url) { return fetch(url, { redirect: 'manual' }).then((r) => { if ([301, 302, 303].includes(r.status) && r.headers.has('location')) return r.headers.get('location');