diff --git a/singbox/start.sh b/singbox/start.sh index 81fba78..d47a9f1 100644 --- a/singbox/start.sh +++ b/singbox/start.sh @@ -66,7 +66,7 @@ export_list() { if [[ "$HY2IP" != "::" ]]; then myip=${HY2IP} else - myip="$(curl -s ifconfig.me)" + myip="$(curl -s icanhazip.com)" fi vmessname="Argo-vmess-$host-$user" hy2name="Hy2-$host-$user" diff --git a/start.sh b/start.sh index 39fc0a1..4c35939 100755 --- a/start.sh +++ b/start.sh @@ -1164,7 +1164,7 @@ setColorWord(){ } showIP(){ - myip="$(curl -s ifconfig.me)" + myip="$(curl -s icanhazip.com)" green "本机IP: $myip" }