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

Inherit protocol and endpoint when not specified. #12

Open
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
3 participants
@edevil

edevil commented Jul 7, 2016

This makes it easy to have the same code running in dev/staging/production environments since you are now able to use relative paths instead of absolute paths for the websocket endpoint.

Addresses fbonetti/elm-phoenix-socket#6

@edevil

This comment has been minimized.

Show comment
Hide comment
@edevil

edevil Jul 7, 2016

Based on code from the Phoenix channels JS client.

edevil commented Jul 7, 2016

Based on code from the Phoenix channels JS client.

@Voronchuk

This comment has been minimized.

Show comment
Hide comment
@Voronchuk

Voronchuk Jul 12, 2016

+1 to this

Voronchuk commented Jul 12, 2016

+1 to this

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz Jul 12, 2016

Contributor

I didn't have @process-bot set up when this issue was opened, but this is what he would have said: https://github.com/elm-lang/virtual-dom/issues/30#issuecomment-232155244

Contributor

evancz commented Jul 12, 2016

I didn't have @process-bot set up when this issue was opened, but this is what he would have said: https://github.com/elm-lang/virtual-dom/issues/30#issuecomment-232155244

@edevil

This comment has been minimized.

Show comment
Hide comment
@edevil

edevil Nov 25, 2016

Can I have some feedback on this please?

edevil commented Nov 25, 2016

Can I have some feedback on this please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment