added ui elements, added display update routine

This commit is contained in:
2019-01-20 05:16:02 +01:00
parent 5b18fe5edc
commit 8c76db5275
4 changed files with 77 additions and 24 deletions

View File

@@ -20,6 +20,9 @@ io.on('connection', function(socket){
io.emit('status', {"users": users.length});
get_dirs(socket);
socket.on('log', function(msg){
console.log('id: ' + this.id + ' LOG:' + msg);
});
socket.on('disconnect', function(){
console.log('id: ' + this.id + ' disconnected');