🗑️ 移除失效 GeoIP API
This commit is contained in:
parent
130248b9ed
commit
0e35862b23
@ -41,10 +41,10 @@ var (
|
|||||||
"https://api.myip.la/en?json",
|
"https://api.myip.la/en?json",
|
||||||
"https://api.ip.sb/geoip",
|
"https://api.ip.sb/geoip",
|
||||||
"https://ipapi.co/json",
|
"https://ipapi.co/json",
|
||||||
"https://freegeoip.app/json/",
|
|
||||||
"http://ip-api.com/json/",
|
"http://ip-api.com/json/",
|
||||||
// "https://extreme-ip-lookup.com/json/",
|
// "https://extreme-ip-lookup.com/json/", // 不精确
|
||||||
// "https://ip.seeip.org/geoip",
|
// "https://ip.seeip.org/geoip", // 不精确
|
||||||
|
// "https://freegeoip.app/json/", // 需要 Key
|
||||||
}
|
}
|
||||||
cachedIP, cachedCountry string
|
cachedIP, cachedCountry string
|
||||||
httpClientV4 = utils.NewSingleStackHTTPClient(time.Second*20, time.Second*5, time.Second*10, false)
|
httpClientV4 = utils.NewSingleStackHTTPClient(time.Second*20, time.Second*5, time.Second*10, false)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user