diff --git a/index.js b/index.js index 4aa6fb7..2386c1f 100644 --- a/index.js +++ b/index.js @@ -21,6 +21,8 @@ app.get("/", (req, res) => { res.sendFile(path.join(__dirname, "/public/index.html")); }); +console.log("server is working well"); + io.on("connection", (socket) => { console.log("New connected : ", socket.id); /* TODO : handle disconnection diff --git a/public/scripts/index.js b/public/scripts/index.js index 94c5ff5..8197b01 100644 --- a/public/scripts/index.js +++ b/public/scripts/index.js @@ -102,4 +102,3 @@ function onJoinRoom(player) { } setTimeout(startConnection, 100); -console.log("coucou");