Skip to content

Commit

Permalink
increased body-parser size
Browse files Browse the repository at this point in the history
  • Loading branch information
MrClemRkz committed Jul 9, 2020
1 parent b5b4420 commit ad9aa81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ad9aa81

Please sign in to comment.