Skip to content
Permalink
Browse files

Merge pull request #1497 from Trott/silence-deprecation-warning

fix: address deprecation warning on startup
  • Loading branch information...
mistydemeo committed Apr 17, 2019
2 parents c1c2611 + 39b8d59 commit 7795fe53fb1a3dde85537589149cab0f0b58404a
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 }))
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 7795fe5

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