diff --git a/public/scripts/index.js b/public/scripts/index.js index c5efd32..ea0e6df 100644 --- a/public/scripts/index.js +++ b/public/scripts/index.js @@ -1,6 +1,8 @@ import { drawGrid, drawEnnemyGrid, play, selectPiece } from "./game.js"; -export const socket = io(); +export const socket = io("https://codefirst.iut.uca.fr/containers/vincentastolfi-maettleship:8081", { + withCredentials: true, +}); export let roomId = ""; function startConnection() {