Skip to content

Commit dc1909c

Browse files
committed
Merge pull request parse-community#54 from CWalig/patch-1
Change the file size limit to 20mb
2 parents 7c88d16 + c34b6b9 commit dc1909c

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)