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

This commit is contained in:
huzibaca
2024-09-16 05:30:29 +08:00
parent 65ce7429b7
commit eb60cfb083
2 changed files with 11 additions and 3 deletions

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