mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-10 02:58:33 +00:00
fix: address review comments
This commit is contained in:
@ -88,9 +88,9 @@ func (p *proxyProvider) findReachableServer() (proxy string, err error) {
|
||||
logrus.WithError(err).Warn("Failed to refresh proxy cache, cache may be out of date")
|
||||
}
|
||||
|
||||
// We want to switch back to the RootURL if possible.
|
||||
if p.canReach(RootURL) {
|
||||
proxyResult <- RootURL
|
||||
// We want to switch back to the rootURL if possible.
|
||||
if p.canReach(rootURL) {
|
||||
proxyResult <- rootURL
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user