Skip to content

Commit

Permalink
chore: increase body limit (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
abarmat committed Mar 18, 2019
1 parent 75484a4 commit 59f5b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/ExpressApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class ExpressApp {

useJSON() {
this.app.use(bodyParser.urlencoded({ extended: false, limit: '2mb' }))
this.app.use(bodyParser.json())
this.app.use(bodyParser.json({ limit: '1mb' }))
return this
}

Expand Down

0 comments on commit 59f5b8e

Please sign in to comment.