Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Provide console feedback on improper protocol #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

listrophy
Copy link

This kinda conflicts with #12, but that's not merged yet, so.....

Why have this? Because I inadvertently specified a protocol of http:// instead of ws://, and everything just silently failed. Couldn't figure it out until I spotted that bug.

Anyway, if your url doesn't start with ws:// or wss://, then you'll get a console warning with this patch.

@process-bot
Copy link

Thanks for the pull request! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants