diff --git a/src/middleware.js b/src/middleware.js index 5a12f889..8cff406d 100644 --- a/src/middleware.js +++ b/src/middleware.js @@ -38,7 +38,7 @@ app.use( }), ); -app.use(express.json()); +app.use(express.json({ limit: '5mb' })); app.use(bodyParser.urlencoded({ extended: false })); // Request logger middleware