From 2cecb73634bcd224fe14cf8d76daf735ea252fae Mon Sep 17 00:00:00 2001 From: Mikhail Grigorev Date: Thu, 10 Jul 2025 00:22:30 +0500 Subject: [PATCH] Remove https://ifconfig.io/ip and https://ipinfo.tw/ip --- install.sh | 2 +- web/service/server.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 21f94109..34155ea4 100644 --- a/install.sh +++ b/install.sh @@ -7,7 +7,7 @@ yellow='\033[0;33m' plain='\033[0m' cur_dir=$(pwd) -show_ip_service_lists=("https://api.ipify.org" "https://4.ident.me" "https://ifconfig.io/ip" "https://ipinfo.tw/ip") +show_ip_service_lists=("https://api.ipify.org" "https://4.ident.me") # check root [[ $EUID -ne 0 ]] && echo -e "${red}Fatal error: ${plain} Please run this script with root privilege \n " && exit 1 diff --git a/web/service/server.go b/web/service/server.go index eee1bc44..78d3b3f6 100644 --- a/web/service/server.go +++ b/web/service/server.go @@ -234,7 +234,7 @@ func (s *ServerService) GetStatus(lastStatus *Status) *Status { } // IP fetching with caching - showIp4ServiceLists := []string{"https://api.ipify.org", "https://4.ident.me", "https://ifconfig.io/ip", "https://ipinfo.tw/ip"} + showIp4ServiceLists := []string{"https://api.ipify.org", "https://4.ident.me"} showIp6ServiceLists := []string{"https://api6.ipify.org", "https://6.ident.me"} if s.cachedIPv4 == "" {