Skip to content

Commit 3194acc

Browse files
committed
Modify the IP API URL to ip.cloudflare.now.cc
1 parent fe3ed28 commit 3194acc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sba.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ CDN_DOMAIN=("skk.moe" "ip.sb" "time.is" "cfip.xxxxxxxx.tk" "bestcf.top" "cdn.202
1313
SUBSCRIBE_TEMPLATE="https://raw.githubusercontent.com/fscarmen/client_template/main"
1414
NGINX_PORT='3010'
1515
METRICS_PORT='3014'
16-
DEFAULT_NEWEST_VERSION='1.13.0-beta.7'
16+
DEFAULT_NEWEST_VERSION='1.13.0-rc.4'
1717

1818
export DEBIAN_FRONTEND=noninteractive
1919

@@ -631,13 +631,13 @@ check_system_ip() {
631631
[ -n "$DEFAULT_LOCAL_IP6" ] && local BIND_ADDRESS6="--bind-address=$DEFAULT_LOCAL_IP6"
632632
fi
633633

634-
local IP4_JSON=$(wget $BIND_ADDRESS4 -4 -qO- --no-check-certificate --tries=2 --timeout=2 https://ip.cloudflare.nyc.mn${IS_CHINESE}) &&
634+
local IP4_JSON=$(wget $BIND_ADDRESS4 -4 -qO- --no-check-certificate --tries=2 --timeout=2 https://ip.cloudflare.now.cc${IS_CHINESE}) &&
635635
WAN4=$(awk -F '"' '/"ip"/{print $4}' <<< "$IP4_JSON") &&
636636
COUNTRY4=$(awk -F '"' '/"country"/{print $4}' <<< "$IP4_JSON") &&
637637
EMOJI4=$(awk -F '"' '/"emoji"/{print $4}' <<< "$IP4_JSON") &&
638638
ASNORG4=$(awk -F '"' '/"isp"/{print $4}' <<< "$IP4_JSON")
639639

640-
local IP6_JSON=$(wget $BIND_ADDRESS6 -6 -qO- --no-check-certificate --tries=2 --timeout=2 https://ip.cloudflare.nyc.mn${IS_CHINESE}) &&
640+
local IP6_JSON=$(wget $BIND_ADDRESS6 -6 -qO- --no-check-certificate --tries=2 --timeout=2 https://ip.cloudflare.now.cc${IS_CHINESE}) &&
641641
WAN6=$(awk -F '"' '/"ip"/{print $4}' <<< "$IP6_JSON") &&
642642
COUNTRY6=$(awk -F '"' '/"country"/{print $4}' <<< "$IP6_JSON") &&
643643
EMOJI6=$(awk -F '"' '/"emoji"/{print $4}' <<< "$IP6_JSON") &&

0 commit comments

Comments
 (0)