Skip to content

Commit

Permalink
Update API routes, increase POST body size
Browse files Browse the repository at this point in the history
  • Loading branch information
emiliorizzo committed Feb 4, 2021
1 parent c08c95a commit 93ce54d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/routes/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const Routes = ({ log, api }, send) => {
return sendResult({ res, req, next }, { module, action, params })
})

router.post('/', bodyParser.json(), (req, res, next) => {
router.post('/', bodyParser.json({ limit: '5mb' }), (req, res, next) => {
return sendResult({ res, req, next }, req.body)
})

Expand Down

0 comments on commit 93ce54d

Please sign in to comment.