Skip to content

Commit

Permalink
Merge pull request #316 from topcoder-platform/PS-52
Browse files Browse the repository at this point in the history
increase the request body limit
  • Loading branch information
ThomasKranitsas authored Jun 12, 2023
2 parents dc97f8a + 4525418 commit 5b45506
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 5b45506

Please sign in to comment.