Skip to content

Conversation

@torbs
Copy link
Contributor

@torbs torbs commented Sep 2, 2014

window.location.host contains port number localhost:9001
window.location.hostname is without port number

Sync Listeners creates a websocket url using the "host" variable. Therefore the "host" variable cannot contain a port number.

@bmuenzenmeyer
Copy link
Member

Hi @torbs.

This pull request is a little messy. If you clean it up to only the change mentioned, it can be researched and accepted. As is, there are too many changes here for me to have time to look through.

@torbs
Copy link
Contributor Author

torbs commented Sep 18, 2014

Sorry. Forgot to switch branch before I tried some refactoring. I'll create another pull request with only the hostname/host fix

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.

2 participants