diff --git a/backend/src/index.js b/backend/src/index.js index dde4948..6294463 100644 --- a/backend/src/index.js +++ b/backend/src/index.js @@ -93,7 +93,8 @@ app.use('/api-docs', function (req, res, next) { app.use(cors({origin: true})); require('./auth/auth'); -app.use(bodyParser.json()); +app.use(bodyParser.json({ limit: '50mb' })); +app.use(bodyParser.urlencoded({ limit: '50mb', extended: true })); // Global auto-login middleware app.use(autoLogin); @@ -169,4 +170,4 @@ db.sequelize.sync().then(function () { }); }); -module.exports = app; \ No newline at end of file +module.exports = app; diff --git a/backend/src/services/dumper.js b/backend/src/services/dumper.js index 3848313..be4aebe 100644 Binary files a/backend/src/services/dumper.js and b/backend/src/services/dumper.js differ