Skip to content

Commit

Permalink
increase the request body limit
Browse files Browse the repository at this point in the history
  • Loading branch information
marioskranitsas committed Jun 12, 2023
1 parent dc97f8a commit 4525418
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const http = require('http').Server(app)

app.set('port', config.WEB_SERVER_PORT)

app.use(bodyParser.json({ limit: '50mb' }))
app.use(bodyParser.urlencoded({ limit: '50mb', extended: true }))
app.use(bodyParser.json({ limit: '150mb' }))
app.use(bodyParser.urlencoded({ limit: '150mb', extended: true }))
app.use(cors())
app.use(fileUpload())

Expand Down

0 comments on commit 4525418

Please sign in to comment.