Skip to content

Commit

Permalink
#11 - server readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jianmingtu committed Apr 14, 2021
1 parent 6369070 commit 586bc4c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ database -MongoDB
"node" : ">=14.16.0"
},
```
enable cors
```dotnetcli
npm i cors
const cors = require("cors");
app.use(cors());
```
add "start": "node server.js" to package.json
git add .
git commit -m "change xxx"
Expand Down

0 comments on commit 586bc4c

Please sign in to comment.