Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes: user-disconnect event -> replaced const declaration of variable "peers" with let declaration and changed entry point of application to point to server.js instead of index.js #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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