Skip to content

Commit

Permalink
Increase the upload file limit to 100mb (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
cheton committed Jan 7, 2017
1 parent 8337795 commit 018bbb5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/app/config/settings.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,18 @@ export default {
'body-parser': {
'json': {
// maximum request body size. (default: <100kb>)
limit: '10mb'
limit: '100mb'
},
'urlencoded': {
extended: true,
// maximum request body size. (default: <100kb>)
limit: '10mb'
limit: '100mb'
}
},
// https://github.com/mscdex/connect-busboy
'busboy': {
highWaterMark: 2 * 1024 * 1024,
limits: {
fileSize: 20 * 1024 * 1024 // 20MB
fileSize: 100 * 1024 * 1024 // 100MB
},
// immediate
// false: no immediate parsing
Expand Down

0 comments on commit 018bbb5

Please sign in to comment.