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:
@@ -83,7 +83,7 @@ export const getProxyDelay = async (
|
||||
) => {
|
||||
const params = {
|
||||
timeout: timeout || 10000,
|
||||
url: url || "https://www.gstatic.com/generate_204",
|
||||
url: url || "https://cp.cloudflare.com/generate_204",
|
||||
};
|
||||
const instance = await getAxios();
|
||||
const result = await instance.get(
|
||||
@@ -274,7 +274,7 @@ export const getGroupProxyDelays = async (
|
||||
) => {
|
||||
const params = {
|
||||
timeout: timeout || 10000,
|
||||
url: url || "https://www.gstatic.com/generate_204",
|
||||
url: url || "https://cp.cloudflare.com/generate_204",
|
||||
};
|
||||
|
||||
console.log(
|
||||
|
||||
Reference in New Issue
Block a user