mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2026-06-11 21:01:06 +08:00
修复 proxies.go
This commit is contained in:
parent
2205a90de9
commit
60974e8672
@ -187,7 +187,7 @@ func convertProxies(proxies []C.Proxy, uiSubtitlePattern *regexp2.Regexp) []*Pro
|
||||
Title: strings.TrimSpace(title),
|
||||
Subtitle: strings.TrimSpace(subtitle),
|
||||
Type: p.Type().String(),
|
||||
Delay: int(p.LastDelay()),
|
||||
Delay: int(p.LastDelayForTestUrl("https://www.gstatic.com/generate_204")),
|
||||
})
|
||||
}
|
||||
return result
|
||||
@ -218,7 +218,7 @@ func collectProviders(providers []provider.ProxyProvider, uiSubtitlePattern *reg
|
||||
Title: strings.TrimSpace(title),
|
||||
Subtitle: strings.TrimSpace(subtitle),
|
||||
Type: px.Type().String(),
|
||||
Delay: int(px.LastDelay()),
|
||||
Delay: int(px.LastDelayForTestUrl("https://www.gstatic.com/generate_204")),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user