mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2025-04-02 21:36:15 +03:00
修复 proxies.go
This commit is contained in:
parent
2205a90de9
commit
60974e8672
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue