mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 05:15:35 +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…
Reference in New Issue
Block a user