From 52bee92981e2a07bd44ea6a25417cc3e77a4343e Mon Sep 17 00:00:00 2001 From: Default User Date: Wed, 14 Jan 2026 09:40:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0bodyParser=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F=E9=99=90=E5=88=B6=E5=88=B050mb=E4=BB=A5=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E5=A4=A7=E8=A7=86=E9=A2=91=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Reject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Reject.js b/Reject.js index 7c21555..f18439e 100644 --- a/Reject.js +++ b/Reject.js @@ -165,7 +165,7 @@ app.use((req, res, next) => { } next(); }); -app.use(bodyParser.json({ limit: '10mb' })); +app.use(bodyParser.json({ limit: '50mb' })); app.use(express.static(path.join(__dirname))); // 数据库配置 - 从环境变量获取,与docker-compose.yml保持一致