问题
/sockjs-node/info
无限报错
解决方案
原因是相关代理端不支持 ws,因此需要在代理处关闭 ws,即 ws: false
,如下:
vue.config.js
const ds_proxy = {
'/': {
ws: false,
target: 'https://dev.test.gitinn.com/',
changeOrigin: true,
},
}
/sockjs-node/info
无限报错
原因是相关代理端不支持 ws,因此需要在代理处关闭 ws,即 ws: false
,如下:
vue.config.js
const ds_proxy = {
'/': {
ws: false,
target: 'https://dev.test.gitinn.com/',
changeOrigin: true,
},
}