Update file size limit to 20mb

Update file size limit to 20mb
This commit is contained in:
CWalig
2016-01-30 10:53:09 +13:00
parent 7c88d16ef0
commit c34b6b9bf4

View File

@@ -80,7 +80,7 @@ router.post('/files', function(req, res, next) {
// TODO: do we need to allow crossdomain and method override?
router.post('/files/:filename',
bodyParser.raw({type: '*/*'}),
bodyParser.raw({type: '*/*', limit: '20mb'}),
middlewares.handleParseHeaders,
processCreate);