diff --git a/backend/service-authentication/server.js b/backend/service-authentication/server.js index 8c6812d..a15ce7a 100644 --- a/backend/service-authentication/server.js +++ b/backend/service-authentication/server.js @@ -10,7 +10,7 @@ app.use(bodyParser.urlencoded({extended:true})); app.use(bodyParser.json()); 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');