-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
If this library is added to the express router in front of any endpoints it will reject any content-type: application/json requests larger than 100kb because of body-parser default limit. One fix would be to add in a config flag with a custom limit. Another fix would be to only use body-parser on the endpoints that match with this library.
https://github.com/expressjs/body-parser#limit
Line 71 in 2f47f18
| baseRouter.use(bodyParser.json({ type: 'application/json' })) |
Metadata
Metadata
Assignees
Labels
No labels