diff --git a/lib/webserver.js b/lib/webserver.js index aa988f4a7..ab858e3aa 100644 --- a/lib/webserver.js +++ b/lib/webserver.js @@ -28,7 +28,7 @@ function main({ httpsKey = null, httpsCert = null, port = 7341 } = {}, altPort = app.disable('x-powered-by'); app.use(markEmptyRequestBody); - app.use(bodyParser.raw({ type: '*/*' })); + app.use(bodyParser.raw({ type: '*/*', limit: '5mb' })); app.use(stripEmptyRequestBody); if (altPort) {