webpack 模糊地址代理websocket
webpack 模糊地址代理websocket
proxy
'/**/ws/server/**/**/websocket': {
// 7.1测试服务器
// target: 'http://192.168.190.129:8088',
target: 'http://192.168.190.46:31218/',
// target: 'http://192.168.190.42:8088/',
// target: 'http://127.0.0.1:8701',
changeOrigin: false,
ws:true
//headers: { 'Proxy-Context-Path': 'api' },
},