diff --git a/index.js b/index.js index 1cfbb9b..0c1f25e 100644 --- a/index.js +++ b/index.js @@ -29,8 +29,8 @@ app.all('*', function(req, res, next) { next(); }); -app.use(bodyParser.json()); -app.use(bodyParser.urlencoded({ extended: true })); +app.use(bodyParser.json({ limit: '50mb', extended: true })); +app.use(bodyParser.urlencoded({ limit: '50mb', extended: true })); app.use(upload.array()); app.use(express.static('static')) app.use(speedLimiter);