diff options
| author | Matain <[email protected]> | 2022-06-08 23:49:07 +0800 |
|---|---|---|
| committer | Matain <[email protected]> | 2022-06-08 23:49:07 +0800 |
| commit | 6a266db1dc3377c96f587fda731c49cb9acf4e3f (patch) | |
| tree | 3ff3ab766cef1c77ddc0d7bf50f06bcf79750986 /src/api | |
| parent | 68c6be4359f3b37fe71d89357f581567ecd40e12 (diff) | |
| parent | f6e5bdfaa7ea43a193eebdecf9619e6e5ec40919 (diff) | |
Merge branch 'master' of https://github.com/MetaCubeX/yacd
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 3283449..079106b 100644 --- a/src/api/proxies.ts +++ b/src/api/proxies.ts @@ -34,7 +34,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}`; |
