🐛 完善 mihoyobbs: protocol 处理

This commit is contained in:
BTMuli
2023-12-15 13:23:34 +08:00
parent f0fc0ecd81
commit 56efbcf583

View File

@@ -32,6 +32,9 @@ export async function parseLink(
if (url.pathname === "//webview" && url.search.startsWith("?link=")) {
return decodeURIComponent(url.search.replace("?link=", ""));
}
if (url.pathname === "//openURL" && url.search.startsWith("?link=")) {
return decodeURIComponent(url.search.replace("?link=", ""));
}
}
return false;
}