mirror of https://github.com/calzoneman/sync.git
Tweak urlencoded body size limit
This commit is contained in:
parent
6f8bde91e1
commit
801e54afa2
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue