Revert "chore: change default test url"

This reverts commit 69b65d06a4.
This commit is contained in:
wonfen
2024-06-03 08:25:06 +08:00
parent 10bf90c92a
commit 11434fba68
3 changed files with 4 additions and 4 deletions

View File

@@ -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://www.apple.com/library/test/success.html";
let default_url = "http://1.1.1.1";
let test_url = test_url
.map(|s| if s.is_empty() { default_url.into() } else { s })
.unwrap_or(default_url.into());