mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-30 23:35:37 +08:00
fix(proxies): speedtest params error
This commit is contained in:
parent
707e124e91
commit
5f0fb23f15
@ -91,7 +91,10 @@ export const useProxies = () => {
|
|||||||
const latencyTestByProxyGroupName = async (proxyGroupName: string) => {
|
const latencyTestByProxyGroupName = async (proxyGroupName: string) => {
|
||||||
const data: Record<string, number> = await request
|
const data: Record<string, number> = await request
|
||||||
.get(`group/${proxyGroupName}/delay`, {
|
.get(`group/${proxyGroupName}/delay`, {
|
||||||
searchParams: { url: urlForLatencyTest() },
|
searchParams: {
|
||||||
|
url: urlForLatencyTest(),
|
||||||
|
timeout: 2000,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
.json()
|
.json()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user