This commit is contained in:
David Arranz 2019-08-06 19:46:45 +02:00
parent c224c883fb
commit c862c01880

View File

@ -24,9 +24,9 @@ const app = express();
//app.use(morgan(logs));
// parse body params and attache them to req.body
app.use(bodyParser.json());
app.use(bodyParser.json({ limit: '5mb' }));
app.use(bodyParser.urlencoded({
extended: true
limit: '5mb', extended: true
}));
// set up the response-time middleware