robin*

bodyParser 추가

...@@ -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;
......