mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
🐛 完善 mihoyobbs: protocol 处理
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user