set the limit for the body-parser to '10mb'

This commit is contained in:
gschutz
2015-01-05 12:02:59 -02:00
parent 363e10e0d0
commit a8c694e934

View File

@ -34,7 +34,7 @@ module.exports = function(object, filename) {
server.use(logger('dev'))
}
server.use(bodyParser.json())
server.use(bodyParser.json({limit: '10mb'}))
server.use(bodyParser.urlencoded({ extended: false }))
server.use(methodOverride())