Skip to content

Commit

Permalink
Merge pull request bug-hunters#46 from blowin/master
Browse files Browse the repository at this point in the history
add support pdf in body of request
  • Loading branch information
HugoMario authored Jan 6, 2022
2 parents bf111dc + 02de202 commit 3c1e97b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/middleware/express.app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export class ExpressAppConfig {
this.app.use(bodyParser.urlencoded());
this.app.use(bodyParser.text());
this.app.use(bodyParser.json());
this.app.use(bodyParser.raw({ type: 'application/pdf' }));

this.app.use(this.configureLogger(appOptions.logging));
this.app.use(express.json());
Expand Down

0 comments on commit 3c1e97b

Please sign in to comment.