-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Description
Version
3.0.0-rc.3
Reproduction link
https://codesandbox.io/s/ppzz4pnj3x
Steps to reproduce
vue.config.js
proxy: {
'/': {
target: 'http://192.168.4.69:8080',
ws: true,
changeOrigin: true
}
What is expected?
no error, I also try this with vue-cli 2.9.6, It doesn't have this problem
What is actually happening?
I succeeded in getting the data, but the prompt was wrong:
Proxy error: Could not proxy request /sockjs-node/802/ehlkoad1/websocket from localhost:4200 to http://192.168.4.69:8080.
See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNRESET).
Can't I set the '/' ?