Update ipinsight.go

This commit is contained in:
tsosunchia
2023-03-01 18:04:06 +08:00
committed by GitHub
parent 64224c905e
commit 8a01bccbff

View File

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