master
louisa 2 years ago
parent 927e245c26
commit 490ae3afbf

@ -33,6 +33,7 @@ var io = require('socket.io')(server);
console.log('Node.js is listening!!');
socket.on("blink", (arg, callback) => {
console.log('sending blink message');
const message = "blink";
io.send(message);
});

Loading…
Cancel
Save