Tweak urlencoded body size limit

This commit is contained in:
Calvin Montgomery 2020-09-22 20:23:35 -07:00
parent 6f8bde91e1
commit 801e54afa2
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ module.exports = {
require('./middleware/x-forwarded-for').initialize(app, webConfig);
app.use(bodyParser.urlencoded({
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({
limit: '8kb'