Last commit ?
This commit is contained in:
parent
75060a0997
commit
34a5f703ea
9 changed files with 61 additions and 26 deletions
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
Reference in a new issue