jonssonyan 3 жил өмнө
parent
commit
c5d4481e78
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      install_script.sh

+ 1 - 1
install_script.sh

@@ -609,7 +609,7 @@ EOF
     echo_content skyBlue "---> 你已经安装了Trojan Panel前端"
   fi
 
-  https_flag=$([[ "${https_enable}" == "1" ]] && echo "https" || echo "http")
+  https_flag=$([[ -z ${https_enable} || ${https_enable} == 1 ]] && echo "https" || echo "http")
 
   echo_content red "\n=============================================================="
   echo_content skyBlue "Trojan Panel 安装成功"