diff --git a/app.js b/app.js index 9c58c49..41658d2 100644 --- a/app.js +++ b/app.js @@ -93,7 +93,6 @@ io.on("connection", (socket) => { const room = rooms.find((r) => r.id === roomId); const out = room.players.find((p) => p.id !== id); - console.log(out.grid.cases[0]) callack({ player: out, }); diff --git a/index.js b/index.js index 71136ef..6be367a 100644 --- a/index.js +++ b/index.js @@ -10,10 +10,6 @@ http.listen(port, () => { console.log(`Listening on http://localhost:${port}`); }); -app.get("/", (req, res) => { - res.sendFile(path.join(__dirname, "/public/index.html")); -}); - module.exports = { io, };