mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-13 14:22:08 +08:00
fix: URL test url
This commit is contained in:
@@ -340,7 +340,7 @@ export async function cmdGetProxyDelay(
|
||||
url?: string,
|
||||
) {
|
||||
// 确保URL不为空
|
||||
const testUrl = url || 'http://cp.cloudflare.com'
|
||||
const testUrl = url || 'http://cp.cloudflare.com/generate_204'
|
||||
|
||||
try {
|
||||
// 不再在前端编码代理名称,由后端统一处理编码
|
||||
|
||||
@@ -120,7 +120,7 @@ class DelayManager {
|
||||
`[DelayManager] 获取测试URL,组: ${group}, URL: ${url || '未设置'}`,
|
||||
)
|
||||
// 如果未设置URL,返回默认URL
|
||||
return url || 'http://cp.cloudflare.com'
|
||||
return url || 'http://cp.cloudflare.com/generate_204'
|
||||
}
|
||||
|
||||
setListener(
|
||||
|
||||
Reference in New Issue
Block a user