diff options
| author | MetaCubeX <[email protected]> | 2022-05-31 00:04:25 +0800 |
|---|---|---|
| committer | MetaCubeX <[email protected]> | 2022-05-31 00:04:25 +0800 |
| commit | b429e601bfeb0683998077ac301ed9f95e1c677f (patch) | |
| tree | 6788192eacc9e4ff7e605fe5f784e80850e43f17 /src/api | |
| parent | 5a310ac16f6e0a5a648bc4a81b1ae270eb37f07d (diff) | |
chore: change latencyTestUrl
Diffstat (limited to 'src/api')
| -rw-r--r-- | src/api/proxies.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/proxies.ts b/src/api/proxies.ts index ce3266e..638cddf 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_204' + latencyTestUrl = 'http://www.gstatic.com/generate_202' ) { const { url, init } = getURLAndInit(apiConfig); const qs = `timeout=5000&url=${latencyTestUrl}`; |
