-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Websocket URL should not include /sockjs-node
in the name
#621
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
Comments
related to this, it would be cool to be able to set the handler for |
We're going to completely remove SockJS in favor of a native solution for v3, tracking in #1057. While this is still a valid issue, it'll be moot when that work completes, and so, closing. |
@shellscape I've reviewed #1057 and don't see any mention of adding support for adding a prefix to the websocket path as per #621 (comment). What would my options be to force the client to look for the socket under a prefix pathname? |
@ggoodman the prefix won't be necessary in v3 because of the complete removal of SockJS in favor of native |
The current websocket URL is
/sockjs-node
. This is weird, because the websocket library should be completely abstracted from the user. This has some advantages:/sockjs-node
might already be in use by the user./__webpack_dev_server__/live.bundle.js
.Note that changing the URL would be a breaking change.
The text was updated successfully, but these errors were encountered: