From d139a31149d72ffaed1a0f6946b581c1fa2f4d7b Mon Sep 17 00:00:00 2001 From: frankiejun Date: Sun, 22 Dec 2024 21:34:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=98=BE=E7=A4=BA=E6=9C=AC?= =?UTF-8?q?=E5=9C=B0ip=E5=87=BA=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- singbox/start.sh | 2 +- start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" }