mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
🐛 参数搞错了x
This commit is contained in:
@@ -32,8 +32,8 @@ 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=", ""));
|
||||
if (url.pathname === "//openURL" && url.search.startsWith("?url=")) {
|
||||
return decodeURIComponent(url.search.replace("?url=", ""));
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user