Skip to content

Conversation

cs01
Copy link
Owner

@cs01 cs01 commented Jun 2, 2021

The logic to display the error message had a bug. This PR fixes the bug and prints a red message in the terminal if the browser is not running in a secure context where window.crypto is unavailable.See https://developer.mozilla.org/en-US/docs/Web/API/Window/crypto.

fixes #39

@cs01 cs01 merged commit 32d249b into master Jun 2, 2021
@cs01 cs01 deleted the cs01/add-error-message-insecure-connection branch June 2, 2021 04:46
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.

Unable to connect to session if not served by localhost
1 participant