aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'server.js')
-rw-r--r--server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.js b/server.js
index 676597fae..8010d3e06 100644
--- a/server.js
+++ b/server.js
@@ -49,7 +49,7 @@ const port = config.get('listen.port')
49// For the logger 49// For the logger
50app.use(morgan('combined', { stream: logger.stream })) 50app.use(morgan('combined', { stream: logger.stream }))
51// For body requests 51// For body requests
52app.use(bodyParser.json()) 52app.use(bodyParser.json({ limit: '500kb' }))
53app.use(bodyParser.urlencoded({ extended: false })) 53app.use(bodyParser.urlencoded({ extended: false }))
54// Validate some params for the API 54// Validate some params for the API
55app.use(expressValidator({ 55app.use(expressValidator({