This commit is contained in:
2024-01-23 23:15:29 -05:00
parent eecb79abb8
commit 3a0163fd42
7 changed files with 88 additions and 15 deletions

View File

@ -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')
});
});
});