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.
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
https://github.com/moneybutton/express-paymail/blob/2f47f18eaa7165a7a7da91bd756ff99f81362e43/src/index.js#L71