fix: update default latency test URL to use HTTPS

This commit is contained in:
Tunglies
2025-06-02 12:41:41 +08:00
parent a36d2633c9
commit d5c0b09a2f
6 changed files with 7 additions and 6 deletions

View File

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