From 19b9de703cf9ce685760120a7ed15f61767e912f Mon Sep 17 00:00:00 2001 From: Michal Kuffa Date: Fri, 11 Oct 2024 12:51:04 +0200 Subject: [PATCH] Increse the body parser limit to 300kb --- backend/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/index.ts b/backend/src/index.ts index 9481450..2c65166 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -35,6 +35,7 @@ export function createServer() { server.use( bodyParser.json({ + limit: '300kb', verify: (req, res, buf) => { (req).rawBody = buf; },