socket added but not wired up with front ent

This commit is contained in:
tenthirtyone 2017-08-08 01:40:12 -04:00
parent 1ad21a667c
commit 0174fd5226

10
lib/api/socket.js Normal file
View File

@ -0,0 +1,10 @@
const io = require('socket.io')
module.exports = function addressrouter(server) {
io.(server);
io.on('connection', (socket) => {
console.log(socket);
})
};