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

CI/CD
Thomas CHAZOT 1 year ago
parent f79e8b6312
commit 2f8f0f1032

@ -7,7 +7,7 @@ const app = express();
const server = http.createServer(app); const server = http.createServer(app);
const io = socketIO(server, { const io = socketIO(server, {
cors: { 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"], methods: ["GET", "POST"],
credentials: true credentials: true
} }

Loading…
Cancel
Save