Skip to content

Commit

Permalink
Made io listen on user port
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandgrandRealMe committed Oct 29, 2024
1 parent ccdb82a commit 0dfdc7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ client.on("ready", async () => {

// Socket Stuff
const io = new Server(server);
io.listen(port);

io.on('connection', (socket) => {
updateWEB();
console.log('a user connected');
Expand Down

0 comments on commit 0dfdc7b

Please sign in to comment.