-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Websockets and proxy #410
Comments
webpack-dev-server v1 proxy implementation is based on https://github.com/nodejitsu/node-http-proxy library. Search for "Proxying WebSockets" (https://github.com/nodejitsu/node-http-proxy#proxying-websockets). |
@siready is correct. you can open another issue if you have any more problems with the repo thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I use for the devServer an proxy and it works great, anything which comes from /api/* will be redirect to my server.
so this
this.http.post('/api/v1/sensors'
will redirected to
http://192.168.1.1/abc/api/v1/sensors''
but how can I do the same thing for Websockets?
this.ws = new WebSocket('ws://api/v1/sensorsws');
thx
Michael
The text was updated successfully, but these errors were encountered: