Change API

This commit is contained in:
sjlleo
2022-04-25 09:52:40 +08:00
committed by GitHub
parent b695234015
commit 81d5da467c

View File

@@ -94,7 +94,7 @@ func flagApply() string{
}
func getIPGeo(ip string, c chan IPGeoData) {
resp, err := http.Get("https://leo.moe/api.php?ip=" + ip)
resp, err := http.Get("https://api.leo.moe/ip/?ip=" + ip)
if err != nil {
fmt.Println(err)
}