This commit is contained in:
xuyue committed 2025-12-26 09:36:41 +08:00
1 parent 0bdcf71222
commit ba13a68958
1 file changed
+2 -2
+2 -2
View File
@@ -175,8 +175,8 @@ app.post("/api/upload", async (c) => {
return c.json({ error: "项目名称不能为空" }, 400) return c.json({ error: "项目名称不能为空" }, 400)
} }
if (projectName.length > 50) { if (projectName.length > 20) {
return c.json({ error: "项目名称不能超过50个字符" }, 400) return c.json({ error: "项目名称不能超过20个字符" }, 400)
} }
// 文件类型和大小验证 // 文件类型和大小验证