From 5ae1cefa1117c1aaf35204f8b8a19d101b4e61f0 Mon Sep 17 00:00:00 2001 From: Tyler Lafayette Date: Wed, 21 Jun 2023 18:00:55 +0800 Subject: [PATCH] bilibili: follow `b23` case with a `break;` - oops --- src/modules/api.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/api.js b/src/modules/api.js index 9cba6cbe..dc4ba876 100644 --- a/src/modules/api.js +++ b/src/modules/api.js @@ -39,6 +39,7 @@ export async function getJSON(originalURL, lang, obj) { host = "bilibili"; url = await fetch(`https://b23.tv/${shortUrlId}`).then(res => res.url); + break; } if (!(host && host.length < 20 && host in patterns && patterns[host]["enabled"])) return apiJSON(0, { t: errorUnsupported(lang) });