Skip to content

Conversation

@akkhilaysh
Copy link

@akkhilaysh akkhilaysh commented Aug 29, 2020

user-disconnect event -> replaced const declaration of variable "peers" with let declaration. The user-disconnect did not have any peers when triggered because "peers" was not updating due to const/final declaration.

Changed entry point of application to point to server.js instead of index.js

Akkhilaysh Shetty added 2 commits August 29, 2020 15:40
…riable with let declaration so it can be updated with new peers as they're added.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant