diff options
-rw-r--r-- | server.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ const port = config.get('listen.port') | |||
49 | // For the logger | 49 | // For the logger |
50 | app.use(morgan('combined', { stream: logger.stream })) | 50 | app.use(morgan('combined', { stream: logger.stream })) |
51 | // For body requests | 51 | // For body requests |
52 | app.use(bodyParser.json()) | 52 | app.use(bodyParser.json({ limit: '500kb' })) |
53 | app.use(bodyParser.urlencoded({ extended: false })) | 53 | app.use(bodyParser.urlencoded({ extended: false })) |
54 | // Validate some params for the API | 54 | // Validate some params for the API |
55 | app.use(expressValidator({ | 55 | app.use(expressValidator({ |