change ipv6 api

This commit is contained in:
若海 committed 2022-06-28 16:35:02 +08:00
1 parent c31f71447f
commit a1968bda6b
1 file changed
+2 -2
+2 -2
View File
@@ -58,9 +58,9 @@ arWanIp6() {
local hostIp
if type curl >/dev/null 2>&1; then
hostIp=$(curl -s https://v6.myip.la)
hostIp=$(curl -s https://v6.ip.sb)
else
hostIp=$(wget -q -O- https://v6.myip.la)
hostIp=$(wget -q -O- https://v6.ip.sb)
fi
if [ -z "$hostIp" ]; then