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

@@ -83,7 +83,7 @@ export const getProxyDelay = async (
) => {
const params = {
timeout: timeout || 10000,
url: url || "http://cp.cloudflare.com/generate_204",
url: url || "https://www.gstatic.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 || "http://cp.cloudflare.com/generate_204",
url: url || "https://www.gstatic.com/generate_204",
};
console.log(