🐛 参数搞错了x

This commit is contained in:
BTMuli
2023-12-15 14:18:24 +08:00
parent 56efbcf583
commit 01ea7fa4db

View File

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