Skip to content

Commit

Permalink
Update myip.go
Browse files Browse the repository at this point in the history
  • Loading branch information
xOS committed Jul 30, 2022
1 parent e3afba0 commit fe69597
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/agent/monitor/myip.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ func (ip *geoIP) Unmarshal(body []byte) error {

var (
geoIPApiList = []string{
"http://api.ipapi.com/check?access_key=a4f23fa3948dc4d1c74183ee1271dea5&format=1",
"https://extreme-ip-lookup.com/json/",
"http://api.qste.com/json",
"http://ip.qste.com/json",
}
cachedIP, cachedCountry string
httpClientV4 = utils.NewSingleStackHTTPClient(time.Second*20, time.Second*5, time.Second*10, false)
Expand Down

0 comments on commit fe69597

Please sign in to comment.