mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
fix: unify default latency test URL and update workflows/backend logic
- All delay test logic, Rust MihomoManager, API, cmds, delay.ts, settings, and group editor now use the Cloudflare 204 test URL - Fixed outdated URLs in docs and comments - Fix Github Actions workflow: unexpected neeeds run
This commit is contained in:
@@ -150,7 +150,7 @@ impl MihomoManager {
|
||||
test_url: Option<String>,
|
||||
timeout: i32,
|
||||
) -> Result<serde_json::Value, String> {
|
||||
let test_url = test_url.unwrap_or("https://www.gstatic.com/generate_204".to_string());
|
||||
let test_url = test_url.unwrap_or("https://cp.cloudflare.com/generate_204".to_string());
|
||||
let url = format!(
|
||||
"{}/proxies/{}/delay?url={}&timeout={}",
|
||||
self.mihomo_server, name, test_url, timeout
|
||||
|
||||
Reference in New Issue
Block a user