From 27e7e32851c568516358200a49bca559fa8f8483 Mon Sep 17 00:00:00 2001 From: vincentastolfi Date: Wed, 17 Apr 2024 20:54:22 +0200 Subject: [PATCH] :green_heart: CI test --- index.js | 2 ++ public/scripts/index.js | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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");