From 6c4d2345e7383a4577a7ccb5ffbfc558570dda42 Mon Sep 17 00:00:00 2001 From: Inga Lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Wed, 22 Jul 2015 13:27:14 +0300 Subject: [PATCH] Increased request size limit --- BuildServer/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BuildServer/app.js b/BuildServer/app.js index 4208608..0c26c57 100644 --- a/BuildServer/app.js +++ b/BuildServer/app.js @@ -22,7 +22,7 @@ app.set('tmpcodepath', 'M:/c'); app.set('releasepath', 'M:/r'); app.use(express.favicon()); app.use(express.logger('dev')); -app.use(express.json()); +app.use(express.json({limit: '10mb'})); app.use(express.urlencoded()); app.use(express.methodOverride()); app.use(app.router);