채지성

sixth

......@@ -2,11 +2,13 @@
const express = require('express');
const app = express();
const cors = require(cors);
const bodyParser = require('body-parser');
app.use(bodyParser.urlencoded({extended : true}));
app.use(express.json());
app.use(cors({ origin:true }));
app.listen(8080, function () {
console.log('listening on 8080')
})
......