Added log output for debugging

This commit is contained in:
clerie 2018-04-03 12:57:05 +02:00
parent 391d6952bf
commit 22bcc7df74

View File

@ -8,6 +8,7 @@ app.use(express.static(__dirname + '/public'));
function onConnection(socket){ function onConnection(socket){
console.log(socket);
socket.on('input', function(data) { socket.on('input', function(data) {
console.log(data); console.log(data);
var command = data.split(" "); var command = data.split(" ");