浏览代码

fix typo

master
nitowa 2 年前
父节点
当前提交
6510137042
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      README.md

+ 1
- 1
README.md 查看文件

@@ -30,7 +30,7 @@ On the server, checks are performed to make sure the values are safe, but the ch
30 30
 const { type, program } = req.body;
31 31
 if (
32 32
     typeof type !== "string"
33
-    || type.match(/^[a-zA-Z\-/]{3,}$/) === null  //<-- Any Alphanumeric(plus dashes) string with length >= 3
33
+    || type.match(/^[a-zA-Z\-/]{3,}$/) === null  //<-- Any Alphanumeric(plus dashes and slashes) string with length >= 3
34 34
     || typeof program.name !== "string"
35 35
     || typeof program.code !== "string"
36 36
     || program.code.length > 10000

正在加载...
取消
保存