From cf1d5da7403a5f18a2c65a1225504f9c0cf5f11d Mon Sep 17 00:00:00 2001
From: miklosimate <megykereku@gmail.com>
Date: Mon, 25 Mar 2024 14:03:13 +0100
Subject: [PATCH] File transfer limit increased

---
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.js b/index.js
index c429640..dfb3b72 100644
--- a/index.js
+++ b/index.js
@@ -8,7 +8,7 @@ const fs = require('fs')
 const bodyParser = require('body-parser');
 
 app.use(express.static(path.join(__dirname, 'public')));
-app.use(express.json()); // Use express.json() to parse JSON bodies
+app.use(express.json({limit: '100mb'})); // Use express.json() to parse JSON bodies
 app.use(bodyParser.json({ limit: '5mb' })); // Set maximum payload size to 5 MB
 app.use(bodyParser.urlencoded({ extended: true, limit: '5mb' }));
 
-- 
GitLab