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

CI/CD
Thomas CHAZOT 1 year ago
parent 28186ae6ef
commit 1b0ee4688c

@ -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: ["http://172.20.10.4:3000", "http://172.20.10.4:3000"], // Remplacez par l'URL de votre application React origin: ["https://codefirst.iut.uca.fr/containers/Crypteam-server: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