From a7e229aaaef31fffd6c01184299a0392d4cd5502 Mon Sep 17 00:00:00 2001 From: xrh0905 Date: Wed, 17 Sep 2025 23:55:54 +0800 Subject: [PATCH] feat: Add IPQuery.io as additional comparison source for the country code (#1006) --- src/reset.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/reset.sh b/src/reset.sh index d356470..284f4d8 100644 --- a/src/reset.sh +++ b/src/reset.sh @@ -160,6 +160,7 @@ setCountry() { [ -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.ipquery.io/?format=json" ".location.country_code" [ -z "$COUNTRY" ] && getCountry "https://api.myip.com" ".cc" return 0