wip
This commit is contained in:
@@ -152,7 +152,7 @@ wss.on('connection', function connection(ws) {
|
||||
console.log('WebSocket client connected');
|
||||
|
||||
// Send initial state
|
||||
ws.send_ws_message(calculateDiff({}, progvars));
|
||||
ws.send(calculateDiff({}, progvars));
|
||||
|
||||
ws.on('message', function incoming(message) {
|
||||
console.log('received: %s', message);
|
||||
|
||||
Reference in New Issue
Block a user