mise de localhost pour les serv 🎉
continuous-integration/drone/push Build is passing Details

pull/103/head
Pierre Ferreira 1 year ago
parent 8b41bb5dbe
commit c08223fbb5

@ -14,7 +14,7 @@ const port = 3003;
// Middleware
app.use(cors(
{
origin: ["http://172.20.10.4:3000", "http://172.20.10.4:3000"],
origin: ["http://localhost:3000", "http://172.20.10.4:3000"],
credentials: true
}
)); // Autoriser les requêtes cross-origin

@ -1,6 +1,8 @@
const ADRESSE_WEBSERVER = "http://172.20.10.4:3002"
// const ADRESSE_WEBSERVER = "http://172.20.10.4:3002"
// const ADRESSE_DBSERVER = "http://172.20.10.4:3003"
const ADRESSE_WEBSERVER = "http://localhost:3002"
const ADRESSE_DBSERVER = "http://localhost:3003"
const ADRESSE_DBSERVER = "http://172.20.10.4:3003"
const tmp = ADRESSE_DBSERVER
const tmp2 = ADRESSE_WEBSERVER

Loading…
Cancel
Save