Mise à jour de 'cryptide_project/server/socket_io/server.js'
continuous-integration/drone/push Build is passing Details

CI/CD
Thomas CHAZOT 7 months ago
parent 81063023f8
commit 0282bad2cc

@ -12,7 +12,7 @@ app.use(function(req, res, next) {
const server = http.createServer(app);
const io = socketIO(server, {
cors: {
origin: ["https://codefirst.iut.uca.fr/containers/Crypteam-website:80", "http://172.20.10.4:3000"], // Remplacez par l'URL de votre application React
origin: ["https://codefirst.iut.uca.fr:80", "http://172.20.10.4:3000"], // Remplacez par l'URL de votre application React
methods: ["GET", "POST"],
credentials: true
}

Loading…
Cancel
Save