bilibili: follow b23 case with a break; - oops

This commit is contained in:
Tyler Lafayette 2023-06-21 18:00:55 +08:00
parent c2470eaa19
commit 5ae1cefa11

View File

@ -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) });