From 7176250d674711c86e69984766b603e4e54dc201 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 1 Jan 2018 15:38:34 +0100 Subject: try limit --- bucky/app/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bucky/app/index.js') diff --git a/bucky/app/index.js b/bucky/app/index.js index 24f1035..a05cd2f 100644 --- a/bucky/app/index.js +++ b/bucky/app/index.js @@ -30,7 +30,7 @@ site.init = function(){ app.enable('trust proxy'); app.set('port', process.env.PORT || 5000) app.use(favicon(__dirname + '../../../public/favicon.ico')) - app.use(bodyParser.json()) + app.use(bodyParser.json({limit: '50mb'})) app.use(cookieParser()) app.use(session({ secret: 'argonauts', -- cgit v1.2.3-70-g09d2