ws
This commit is contained in:
@ -4,7 +4,6 @@ const io = ()=> app.io;
|
||||
// We have to wait for the express HTTP server to be finished starting before we
|
||||
// can use any of the socket.io stuff.
|
||||
app.onListen.push(function(){
|
||||
|
||||
app.io.on('connection', (socket) => {
|
||||
console.log('User connected via WebsSocket')
|
||||
|
||||
@ -12,7 +11,6 @@ app.onListen.push(function(){
|
||||
console.log('User disconnect via WebsSocket')
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user