ip changed
This commit is contained in:
parent
ef54c66a5b
commit
7dfef58df1
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ app.use(bodyParser.urlencoded({extended:true}));
|
||||||
app.use(bodyParser.json());
|
app.use(bodyParser.json());
|
||||||
|
|
||||||
const cors = require('cors');
|
const cors = require('cors');
|
||||||
app.use(cors({origin: 'http://frontend:4200', credentials: true}));
|
app.use(cors({origin: 'http://127.0.0.1:4200', credentials: true}));
|
||||||
|
|
||||||
const mongoConnect = require('./mongodbConnect');
|
const mongoConnect = require('./mongodbConnect');
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue