mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-05 00:50:21 +00:00
紧急处理 GeoIP API 问题
This commit is contained in:
1 parent
8d0e269b73
commit
557cccd770
5 files changed
+16
-15
No files matched your search
@@ -17,13 +17,13 @@ type geoIP struct {
|
||||
|
||||
var (
|
||||
ipv4Servers = []string{
|
||||
"https://api-ipv4.ip.sb/geoip",
|
||||
"https://ip4.seeip.org/geoip",
|
||||
"https://api.ip.sb/geoip",
|
||||
"https://ip.seeip.org/geoip",
|
||||
"https://ipapi.co/json",
|
||||
}
|
||||
ipv6Servers = []string{
|
||||
"https://ip6.seeip.org/geoip",
|
||||
"https://api-ipv6.ip.sb/geoip",
|
||||
"https://api.ip.sb/geoip",
|
||||
"https://ip.seeip.org/geoip",
|
||||
"https://ipapi.co/json",
|
||||
}
|
||||
cachedIP, cachedCountry string
|
||||
|
||||
Reference in new issue
Block a user