Merge pull request #54 from CWalig/patch-1

Change the file size limit to 20mb
This commit is contained in:
Fosco Marotto
2016-01-29 14:56:14 -08:00

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);