Merge pull request #54 from CWalig/patch-1
Change the file size limit to 20mb
This commit is contained in:
2
files.js
2
files.js
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user