From 9d21489b8eb367cefdaec61d8cdbbb40adbf180e Mon Sep 17 00:00:00 2001 From: IP2Location Date: Thu, 4 Jan 2024 11:11:20 +0800 Subject: [PATCH] Added api.ip2location.io (#533) --- src/reset.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/reset.sh b/src/reset.sh index 48a79fd..fadb63b 100644 --- a/src/reset.sh +++ b/src/reset.sh @@ -113,6 +113,7 @@ setCountry() { [ -z "$COUNTRY" ] && getCountry "https://api.ipapi.is" ".location.country_code" [ -z "$COUNTRY" ] && getCountry "https://ifconfig.co/json" ".country_iso" + [ -z "$COUNTRY" ] && getCountry "https://api.ip2location.io" ".country_code" [ -z "$COUNTRY" ] && getCountry "https://ipinfo.io/json" ".country" [ -z "$COUNTRY" ] && getCountry "https://api.myip.com" ".cc"