chore: increase max upload size to 1GB

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Consultoria AS
2026-01-22 07:09:03 +00:00
parent db1f2eaecd
commit 7454cf67e6

View File

@@ -23,9 +23,9 @@ app.use(cors({
credentials: true,
}));
// Body parsing - increased limit for bulk XML uploads
app.use(express.json({ limit: '300mb' }));
app.use(express.urlencoded({ extended: true, limit: '300mb' }));
// Body parsing - increased limit for bulk XML uploads (1GB)
app.use(express.json({ limit: '1gb' }));
app.use(express.urlencoded({ extended: true, limit: '1gb' }));
// Health check
app.get('/health', (req, res) => {