From 2437f5e4ef51d2fa436a1769e7db7ae39015206e Mon Sep 17 00:00:00 2001 From: 233boy Date: Sat, 3 Nov 2018 22:04:29 +0800 Subject: [PATCH] use https --- install.sh | 2 +- v2ray.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 30ac3db..e7a1ee1 100644 --- a/install.sh +++ b/install.sh @@ -1433,7 +1433,7 @@ try_enable_bbr() { } get_ip() { - ip=$(curl -s ipinfo.io/ip) + ip=$(curl -s https://ipinfo.io/ip) } error() { diff --git a/v2ray.sh b/v2ray.sh index aa4e96f..49cc5da 100644 --- a/v2ray.sh +++ b/v2ray.sh @@ -10,7 +10,7 @@ none='\e[0m' # Root [[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1 -_version="v2.43" +_version="v2.44" cmd="apt-get" @@ -3591,7 +3591,7 @@ _boom_() { } get_ip() { - ip=$(curl -s ipinfo.io/ip) + ip=$(curl -s https://ipinfo.io/ip) } error() {