[优化] 增加对节点 IP 的自动探测,优先通过第三方 API 获取公网 IP

This commit is contained in:
ryan
2026-05-30 10:18:05 +08:00
parent 2a00d21987
commit 4e339caa9a
13 changed files with 370 additions and 9 deletions
+1 -1
View File
@@ -406,6 +406,6 @@ func updateOptionMap(key string, value string) {
}
common.OptionMapRWMutex.Unlock()
if shouldRefreshGeoIP {
geoip.InitGeoIP()
geoip.InitGeoIP(common.GeoIPProvider)
}
}