diff --git a/cmd/agent/monitor/myip.go b/cmd/agent/monitor/myip.go index b5a0c76..f3e6d76 100644 --- a/cmd/agent/monitor/myip.go +++ b/cmd/agent/monitor/myip.go @@ -114,6 +114,6 @@ func httpGetWithUA(client *http.Client, url string) (*http.Response, error) { if err != nil { return nil, err } - req.Header.Add("User-Agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36") + req.Header.Add("User-Agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36") return client.Do(req) }