From d8051f189f874925f3e917d905ce7ec4f3a3fd51 Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Thu, 16 Feb 2023 16:24:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=84=9A=E6=9C=AC):=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E8=87=AA=E5=AE=9A=E4=B9=89=E7=AB=AF=E5=8F=A3?= =?UTF-8?q?=E5=90=8E=E6=B7=BB=E5=8A=A0=E4=BC=AA=E8=A3=85=E7=AB=99302?= =?UTF-8?q?=E9=87=8D=E5=AE=9A=E5=90=91=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index ef0477d..dc1b749 100644 --- a/install.sh +++ b/install.sh @@ -3453,10 +3453,10 @@ removeNginx302() { # 检查302是否成功 checkNginx302() { local domain302Status= - domain302Status=$(curl -s "https://${currentHost}") + domain302Status=$(curl -s "https://${currentHost}:${currentPort}") if echo "${domain302Status}" | grep -q "302"; then local domain302Result= - domain302Result=$(curl -L -s "https://${currentHost}") + domain302Result=$(curl -L -s "https://${currentHost}:${currentPort}") if [[ -n "${domain302Result}" ]]; then echoContent green " ---> 302重定向设置成功" exit 0 @@ -5513,7 +5513,7 @@ menu() { cd "$HOME" || exit echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v2.7.1" + echoContent green "当前版本:v2.7.2" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:八合一共存脚本\c" showInstallStatus