瀏覽代碼

new check_configure_kerio_buisness_mail.tpl

andre 6 月之前
父節點
當前提交
c23df207c7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      check_configure_kerio_buisness_mail.tpl

+ 1 - 1
check_configure_kerio_buisness_mail.tpl

@@ -6,7 +6,7 @@
 <script>
     function is_domain(str) {
         console.log(str);
-        const regexp = /^(?=[a-z0-9-]\.)(xn--)?[a-z0-9]+(-[a-z0-9]+)*\.[a-z]$/;
+        const regexp = /^[a-z0-9]+\.[a-z]$/;
         return regexp.test(str);
     }
     function checkInput (domain, pid) {