Showing
1 changed file
with
4 additions
and
0 deletions
... | @@ -4,4 +4,8 @@ const bodyParser = require('body-parser'); | ... | @@ -4,4 +4,8 @@ const bodyParser = require('body-parser'); |
4 | require('express-async-errors'); | 4 | require('express-async-errors'); |
5 | 5 | ||
6 | const app = express(); | 6 | const app = express(); |
7 | + | ||
8 | +app.use(bodyParser.urlencoded({extended: true})); | ||
9 | +app.use(bodyParser.json()); | ||
10 | + | ||
7 | module.exports = app; | 11 | module.exports = app; | ... | ... |
-
Please register or login to post a comment