diff --git a/website/webpack.config.ts b/website/webpack.config.ts index de9ce553..0ff5c585 100644 --- a/website/webpack.config.ts +++ b/website/webpack.config.ts @@ -40,6 +40,16 @@ module.exports = { allowedHosts: "all", host: "0.0.0.0", port: 8080, + client: { + // Ensure websocket connects to the expected host/port when proxied + webSocketURL: { + hostname: "localhost", + port: 8080, + protocol: "ws", + pathname: "/sockjs-node" + } + }, + webSocketServer: "ws", watchFiles: [], }, module: {