diff --git a/server/server.js b/server/server.js index 07931c0d..79baca8d 100644 --- a/server/server.js +++ b/server/server.js @@ -55,8 +55,8 @@ app.options('*', corsMiddleware); // Body parser, cookie parser, sessions, serve public assets app.use(Express.static(path.resolve(__dirname, '../static'))); -app.use(bodyParser.urlencoded({ extended: true })); -app.use(bodyParser.json()); +app.use(bodyParser.urlencoded({ limit: '50mb', extended: true })); +app.use(bodyParser.json({ limit: '50mb' })); app.use(cookieParser()); app.use(session({ resave: true,