modified: server/server.js

This commit is contained in:
IrisVega 2024-07-11 16:56:20 +08:00
parent 1d5009c51c
commit 043c0a922a

View File

@ -4,7 +4,7 @@ const bodyParser = require('body-parser');
const cors = require('cors'); const cors = require('cors');
const path = require('path'); const path = require('path');
const app = express(); const app = express();
const port = 3000; const port = 8080;
app.use(bodyParser.json()); app.use(bodyParser.json());
app.use(cors()); app.use(cors());