Skip to content

Commit 4525418

Browse files
increase the request body limit
1 parent dc97f8a commit 4525418

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ const http = require('http').Server(app)
2525

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

28-
app.use(bodyParser.json({ limit: '50mb' }))
29-
app.use(bodyParser.urlencoded({ limit: '50mb', extended: true }))
28+
app.use(bodyParser.json({ limit: '150mb' }))
29+
app.use(bodyParser.urlencoded({ limit: '150mb', extended: true }))
3030
app.use(cors())
3131
app.use(fileUpload())
3232

0 commit comments

Comments
 (0)