Browse Source

minor: 暂时去掉域名的校验,解决不能输入ip和localhost的问题

tuon 1 năm trước cách đây
mục cha
commit
c15e30d1b6
3 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 0 0
      dist/assets/index-c95994c2.js
  2. 1 1
      dist/index.html
  3. 1 1
      src/config/nginx_form.json

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/assets/index-c95994c2.js


+ 1 - 1
dist/index.html

@@ -4,7 +4,7 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>NginxUI</title>
     <script type="application/javascript" src="./config.js"></script>
-    <script crossorigin="">import('/nginx-ui/assets/index-de254b2b.js').finally(() => {
+    <script crossorigin="">import('/nginx-ui/assets/index-c95994c2.js').finally(() => {
             
     const qiankunLifeCycle = window.moudleQiankunAppLifeCycles && window.moudleQiankunAppLifeCycles['nginx-ui'];
     if (qiankunLifeCycle) {

+ 1 - 1
src/config/nginx_form.json

@@ -4,7 +4,7 @@
       "key": "server_name",
       "title": "域名",
       "type": "string",
-      "ruleType": "reg",
+      "ruleType": "",
       "pattern": "^((?!-)[A-Za-z0-9-]{1,63}(?<!-)\\.)+[A-Za-z]{2,6}$",
       "placeholder": "请填写域名",
       "description": "eg. demo.domain.cn",

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác