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

Websocket fails to connect when Lookbook is mounted at root #4

Closed
wants to merge 3 commits into from
Closed

Websocket fails to connect when Lookbook is mounted at root #4

wants to merge 3 commits into from

Conversation

dmorgan-fa
Copy link
Contributor

Demoing websocket failing when the Lookbook engine is mounted at the root of the rails app, breaking the hot reloading:

Console errors:
WebSocket connection to 'ws://cable/?uid=1646144935981' failed

When Lookbook is mounted at /lookbook, the websocket is successful, and in the form:
ws://lookbook/cable?uid=1646144935981

Somehow the param isn't getting appended correctly, and breaks hot reloading.

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