fox: try to restore the processing logic of windows custom scheme

This commit is contained in:
huzibaca committed 2024-09-16 05:30:29 +08:00
1 parent b6e1d71b81
commit fc49e4a0da
2 files changed
+11 -3

No files matched your search

+1 -1
View File
@@ -241,7 +241,7 @@ pub async fn resolve_scheme(param: String) -> Result<()> {
.get(2..param.len() - 2)
.ok_or_else(|| anyhow::anyhow!("Invalid string slice boundaries"))?
} else {
bail!("invalid deep link param: {:?}", param)
param.as_str()
};
// 解析 URL