Skip to content

Commit

Permalink
Merge pull request #1497 from Trott/silence-deprecation-warning
Browse files Browse the repository at this point in the history
fix: address deprecation warning on startup
  • Loading branch information
mistydemeo authored Apr 17, 2019
2 parents c1c2611 + 39b8d59 commit 7795fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/robot.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ class Robot {
app.use(express.query())

app.use(express.json())
app.use(express.urlencoded({ limit, parameterLimit: paramLimit }))
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 }))
Expand Down

0 comments on commit 7795fe5

Please sign in to comment.