Tag Archives: socket

@Vue / cli 3 supports error reporting sockets

Question

/sockjs node/Info unlimited error reporting

Solution

The reason is that the relevant agent does not support WS, so WS needs to be closed in the agent, that is WS: false , as follows:

vue.config.js

const ds_proxy = {
  '/': {
    ws: false,
    target: 'https://dev.test.gitinn.com/',
    changeOrigin: true,
  },
}