mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-19 21:15:41 +08:00
chore: change default test url
This commit is contained in:
1 parent
80ff72bae1
commit
a7cf968d04
3 files changed
+4
-4
No files matched your search
@@ -52,7 +52,7 @@ pub async fn get_proxy_delay(
|
||||
let (url, headers) = clash_client_info()?;
|
||||
let url = format!("{url}/proxies/{name}/delay");
|
||||
|
||||
let default_url = "http://1.1.1.1";
|
||||
let default_url = "http://www.apple.com/library/test/success.html";
|
||||
let test_url = test_url
|
||||
.map(|s| if s.is_empty() { default_url.into() } else { s })
|
||||
.unwrap_or(default_url.into());
|
||||
|
||||
Reference in new issue
Block a user