Skip to content

Commit

Permalink
更新 myip.go
Browse files Browse the repository at this point in the history
  • Loading branch information
xOS authored Dec 29, 2023
1 parent 9e444d8 commit 38c1605
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/agent/monitor/myip.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ func (ip *geoIP) Unmarshal(body []byte) error {

var (
geoIPApiList = []string{
"https://api.nange.cn/json",
"http://api.myip.la/en?json",
"https://api.nange.cn/json",
"http://api.myip.la/en?json",
"https://extreme-ip-lookup.com/json/?key=4ouEeuaL1jBnnHBgkQ5L",
"https://extreme-ip-lookup.com/json/?key=eqEKD78o20R8GhHCpvDp",
"https://extreme-ip-lookup.com/json/?key=8NaaAC3PkbrdiYZvxZ7g",
"https://ip.hi.cn/json"
"https://ip.hi.cn/json",
}
CachedIP, cachedCountry string
httpClientV4 = utils.NewSingleStackHTTPClient(time.Second*20, time.Second*5, time.Second*10, false)
Expand Down

0 comments on commit 38c1605

Please sign in to comment.