webpack-dev-server
webpack-dev-server copied to clipboard
hardcoded sockjs iframe url
Why this is hardcoded? https://github.com/webpack/webpack-dev-server/blob/95e26fea168440c0f694c16478aae672091d06a3/lib/servers/SockJSServer.js#L46
In our project this is failing because we have a different from __webpack_dev_server__
path.
Hmm, we can add an option for this.
Hmm, we can add an option for this.
That would be nice!
Why you need to change it? It is potential security problem
Because we have only a few restricted paths lead to a webpack server backend in development. Also its a security problem not to change it, as it can be a really easy for scanners and so on.
Also I expected that this URL is supposed to be the same as devServer.webSocketServer.options.path
setting.
Okay PR welcome