Update entrypoint.sh

This commit is contained in:
vipmc838
2025-06-09 15:46:11 +08:00
committed by GitHub
parent 2298e83a6b
commit a8f1478f9d
+1 -1
View File
@@ -66,7 +66,7 @@ EOF
# 获取公网 IP 和国家代码
SERVER_IP=$(curl -s https://api.ipify.org)
COUNTRY_CODE=$(curl -s https://ipapi.co/${SERVER_IP}/country/ || echo "XX")
COUNTRY_CODE=$(curl -s https://ipapi.co/${SERVER_IP}/country/ || echo "Unable to get")
echo "✅ Hysteria2 启动成功"
echo "------------------------------------------------------------------------"