From 5619088c414b01e6cb0a8735b315e7034eba123b Mon Sep 17 00:00:00 2001 From: zadam Date: Tue, 29 Jan 2019 21:19:08 +0100 Subject: [PATCH] raise payload size limit to 500 MB #395 --- package.json | 2 +- src/app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ff563e05e..90e60179d 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ }, "devDependencies": { "devtron": "1.4.0", - "electron": "4.0.1", + "electron": "4.0.3", "electron-builder": "20.38.4", "electron-compile": "6.4.3", "electron-packager": "13.0.1", diff --git a/src/app.js b/src/app.js index 96a097b1c..8d27d8f3e 100644 --- a/src/app.js +++ b/src/app.js @@ -39,7 +39,7 @@ app.use((req, res, next) => { }); }); -app.use(bodyParser.json({limit: '50mb'})); +app.use(bodyParser.json({limit: '500mb'})); app.use(bodyParser.urlencoded({extended: false})); app.use(cookieParser()); app.use(express.static(path.join(__dirname, 'public')));