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