have clients send logs to server

This commit is contained in:
evanpelle
2024-12-17 17:14:24 -08:00
parent d26eddcf2d
commit 031f62c701
5 changed files with 60 additions and 6 deletions
+3 -1
View File
@@ -122,7 +122,9 @@ wss.on('connection', (ws, req) => {
clientMsg.lastTurn
)
}
// TODO: send error message
if(clientMsg.type == "log") {
console.log()
}
})
});