Skip to content

Commit

Permalink
hm
Browse files Browse the repository at this point in the history
  • Loading branch information
Evanfeenstra committed Jun 15, 2020
1 parent e018ce1 commit 027eedd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions api/utils/socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ const send = (body) => {
// })
// if(lastConn) lastConn.send(body)
srvr.clients.forEach(c=>{
if(c && c.connected) {
c.send(body)
}
console.log(c)
if(c) c.send(body)
})
}

Expand Down
4 changes: 2 additions & 2 deletions dist/api/utils/socket.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/api/utils/socket.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 027eedd

Please sign in to comment.