.
This commit is contained in:
parent
c224c883fb
commit
c862c01880
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user