remove: 过于具体的地区信息,此类信息往往精准度有待考察

This commit is contained in:
sjlleo
2022-06-08 20:10:17 +08:00
parent 0b09addd17
commit 494f2ac819

View File

@@ -62,9 +62,6 @@ func formatIpGeoData(ip string, data *ipgeo.IPGeoData) string {
if data.Owner == "" {
data.Owner = data.Isp
}
if data.District != "" {
data.City = data.City + ", " + data.District
}
if data.Prov == "" && data.City == "" {
// anyCast或是骨干网数据不应该有国家信息
data.Owner = data.Owner + ", " + data.Owner