Tweak urlencoded body size limit

This commit is contained in:
Calvin Montgomery 2020-09-22 20:23:35 -07:00
parent 6f8bde91e1
commit 801e54afa2

View file

@ -157,7 +157,7 @@ module.exports = {
require('./middleware/x-forwarded-for').initialize(app, webConfig); require('./middleware/x-forwarded-for').initialize(app, webConfig);
app.use(bodyParser.urlencoded({ app.use(bodyParser.urlencoded({
extended: false, extended: false,
limit: '8kb' // No POST data should ever exceed this size under normal usage limit: '32kb' // No POST data should ever exceed this size under normal usage
})); }));
app.use(bodyParser.json({ app.use(bodyParser.json({
limit: '8kb' limit: '8kb'