mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-01 14:46:36 +08:00
[优化] 增加对节点 IP 的自动探测,优先通过第三方 API 获取公网 IP
This commit is contained in:
@@ -406,6 +406,6 @@ func updateOptionMap(key string, value string) {
|
||||
}
|
||||
common.OptionMapRWMutex.Unlock()
|
||||
if shouldRefreshGeoIP {
|
||||
geoip.InitGeoIP()
|
||||
geoip.InitGeoIP(common.GeoIPProvider)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user