File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ CDN_DOMAIN=("skk.moe" "ip.sb" "time.is" "cfip.xxxxxxxx.tk" "bestcf.top" "cdn.202
1313SUBSCRIBE_TEMPLATE=" https://raw.githubusercontent.com/fscarmen/client_template/main"
1414NGINX_PORT=' 3010'
1515METRICS_PORT=' 3014'
16- DEFAULT_NEWEST_VERSION=' 1.13.0-beta.7 '
16+ DEFAULT_NEWEST_VERSION=' 1.13.0-rc.4 '
1717
1818export 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" ) &&
You can’t perform that action at this time.
0 commit comments