add bodysize

This commit is contained in:
2026-06-07 18:47:39 +08:00
parent 8fd1606424
commit 76c2f17229
3 changed files with 43 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
# 服务器配置
PORT=5001
NODE_ENV=development
BODY_LIMIT=5mb
# 数据库配置
MONGODB_URI=mongodb://localhost:27017/typeskill
@@ -9,4 +10,4 @@ MONGODB_URI=mongodb://localhost:27017/typeskill
JWT_SECRET=your_jwt_secret_key_here
# CORS配置
CORS_ORIGIN=http://localhost:3000
CORS_ORIGIN=http://localhost:3000