mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-11-16 11:42:19 +08:00
fix group delay
This commit is contained in:
parent
807a789c83
commit
91395d4b31
|
@ -168,7 +168,7 @@ export const mihomoGroupDelay = async (group: string, url?: string): Promise<IMi
|
|||
const { delayTestUrl, delayTestTimeout } = appConfig
|
||||
return await mihomoHttp(
|
||||
'GET',
|
||||
`/proxies/${encodeURIComponent(group)}/delay?url=${encodeURIComponent(url || delayTestUrl || 'https://www.gstatic.com/generate_204')}&timeout=${delayTestTimeout || 5000}`
|
||||
`/group/${encodeURIComponent(group)}/delay?url=${encodeURIComponent(url || delayTestUrl || 'https://www.gstatic.com/generate_204')}&timeout=${delayTestTimeout || 5000}`
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user