Skip to content

Commit

Permalink
Increase max json body size to 5mb
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Gilles committed Oct 25, 2024
1 parent c52274c commit f01fae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/api/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports.load = function Routes(app, io, controllers, middlewares) {
app.use('/stripe/webhook', bodyParser.raw({ type: '*/*' }));

// parse application/json
app.use(bodyParser.json());
app.use(bodyParser.json({ limit: '5mb' }));

// CORS
app.use((req, res, next) => {
Expand Down

0 comments on commit f01fae2

Please sign in to comment.