Skip to content
Permalink
Browse files

Update robot.js

  • Loading branch information...
Trott committed Apr 1, 2019
1 parent af8acb3 commit 39b8d5955b8d44a73a22161f4592139b2481b223
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/robot.js
@@ -444,7 +444,7 @@ class Robot {
app.use(express.query())

app.use(express.json())
app.use(express.urlencoded({ limit, parameterLimit: paramLimit, extended: false }))
app.use(express.urlencoded({ limit, parameterLimit: paramLimit, extended: true }))
// replacement for deprecated express.multipart/connect.multipart
// limit to 100mb, as per the old behavior
app.use(multipart({ maxFilesSize: 100 * 1024 * 1024 }))

0 comments on commit 39b8d59

Please sign in to comment.
You can’t perform that action at this time.