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' },
},
标签:http,target,地址,192.168,webpack,ws,websocket
From: https://www.cnblogs.com/Leechg/p/16836099.html