Update ipinsight.go

This commit is contained in:
tsosunchia
2023-03-01 18:01:18 +08:00
committed by GitHub
parent 2403308c1b
commit 64224c905e

View File

@@ -8,7 +8,7 @@ import (
)
func IPInSight(ip string) (*IPGeoData, error) {
resp, err := http.Get("https://ipinsight.io/query?ip=" + ip)
resp, err := http.Get("https://api.ipinsight.io/query?ip=" + ip + "?token=" + token.ipinsight)
if err != nil {
return nil, err
}