Last commit ?

This commit is contained in:
NyxiumYuuki 2021-06-06 11:40:14 +02:00
parent 75060a0997
commit 34a5f703ea
9 changed files with 61 additions and 26 deletions

View file

@ -10,7 +10,7 @@ app.use(bodyParser.urlencoded({extended:true}));
app.use(bodyParser.json());
const cors = require('cors');
app.use(cors({origin: 'http://127.0.0.1:4200', credentials: true}));
app.use(cors({origin: 'http://localhost:4200', credentials: true}));
const mongoConnect = require('./mongodbConnect');