Skip to content

Commit

Permalink
Save API node app payload limit increased
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyPerov committed Jan 27, 2022
1 parent 4ffbef6 commit 55bb723
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions back_api/app.js
Expand Up @@ -15,10 +15,10 @@ const multer = require('multer');
const upload = multer();

// for parsing application/json
app.use(express.json());
app.use(express.json({limit: '10mb'}));

// for parsing application/x-www-form-urlencoded
app.use(express.urlencoded({extended: true}));
app.use(express.urlencoded({extended: true, limit: '10mb'}));

// for parsing multipart/form-data
app.use(upload.array());
Expand Down

0 comments on commit 55bb723

Please sign in to comment.