mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-12-28 20:04:14 +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 data: Record<string, number> = await request
|
||||
.get(`group/${proxyGroupName}/delay`, {
|
||||
searchParams: { url: urlForLatencyTest() },
|
||||
searchParams: {
|
||||
url: urlForLatencyTest(),
|
||||
timeout: 2000,
|
||||
},
|
||||
})
|
||||
.json()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user