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:
Tunglies
2025-06-02 14:07:54 +08:00
parent 06130b95d2
commit 1bcb6646c4
8 changed files with 9 additions and 11 deletions

View File

@@ -183,7 +183,7 @@ export async function cmdGetProxyDelay(
url?: string,
) {
// 确保URL不为空
const testUrl = url || "https://www.gstatic.com/generate_204";
const testUrl = url || "https://cp.cloudflare.com/generate_204";
console.log(
`[API] 调用延迟测试API代理: ${name}, 超时: ${timeout}ms, URL: ${testUrl}`,
);