From f6e5bdfaa7ea43a193eebdecf9619e6e5ec40919 Mon Sep 17 00:00:00 2001 From: MetaCubeX Date: Sat, 4 Jun 2022 01:08:20 +0800 Subject: chore: adjust latencyTestUrl --- src/api/proxies.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api') diff --git a/src/api/proxies.ts b/src/api/proxies.ts index 638cddf..ce3266e 100644 --- a/src/api/proxies.ts +++ b/src/api/proxies.ts @@ -33,7 +33,7 @@ export async function requestToSwitchProxy(apiConfig, name1, name2) { export async function requestDelayForProxy( apiConfig, name, - latencyTestUrl = 'http://www.gstatic.com/generate_202' + latencyTestUrl = 'http://www.gstatic.com/generate_204' ) { const { url, init } = getURLAndInit(apiConfig); const qs = `timeout=5000&url=${latencyTestUrl}`; -- cgit v1.3.1