浏览代码

不过滤非法字符

不过滤非法字符
onetobig 3 年之前
父节点
当前提交
71658fcc94
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      16.04/nginx_add_site.sh

+ 2 - 2
16.04/nginx_add_site.sh

@@ -8,8 +8,8 @@ source ${CURRENT_DIR}/../common/common.sh
 read -r -p "请输入项目名:" project
 
 [[ $project =~ ^[a-zA-Z\0-9_\-\.]+$ ]] || {
-    ansi -n --bold --bg-red "项目名包含非法字符"
-    exit 1
+    #ansi -n --bold --bg-red "项目名包含非法字符"
+    #exit 1
 }
 
 read -r -p "请输入站点域名(多个域名用空格隔开):" domains