From ba13a68958c9e1a069adc21c18a4db4805c62ba0 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Fri, 26 Dec 2025 09:36:41 +0800 Subject: [PATCH] update --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index d51c965..4d9e0fe 100644 --- a/src/index.ts +++ b/src/index.ts @@ -175,8 +175,8 @@ app.post("/api/upload", async (c) => { return c.json({ error: "项目名称不能为空" }, 400) } - if (projectName.length > 50) { - return c.json({ error: "项目名称不能超过50个字符" }, 400) + if (projectName.length > 20) { + return c.json({ error: "项目名称不能超过20个字符" }, 400) } // 文件类型和大小验证