Added log output for debugging
This commit is contained in:
parent
391d6952bf
commit
22bcc7df74
1
index.js
1
index.js
@ -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(" ");
|
||||||
|
Loading…
Reference in New Issue
Block a user