Skip to content

Commit c34b6b9

Browse files
committed
Update file size limit to 20mb
Update file size limit to 20mb
1 parent 7c88d16 commit c34b6b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ router.post('/files', function(req, res, next) {
8080

8181
// TODO: do we need to allow crossdomain and method override?
8282
router.post('/files/:filename',
83-
bodyParser.raw({type: '*/*'}),
83+
bodyParser.raw({type: '*/*', limit: '20mb'}),
8484
middlewares.handleParseHeaders,
8585
processCreate);
8686

0 commit comments

Comments
 (0)