We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ddf89d commit bafd5fcCopy full SHA for bafd5fc
ui/src/Bootstrap/index.js
@@ -13,7 +13,7 @@ let config = JSON.parse(
13
);
14
15
const returnWebsocketForEndpoint = (path) => () =>
16
- new WebSocket(`ws://localhost:8080${path}`);
+ new WebSocket(`ws://${window.location.host}${path}`);
17
18
ReactDOM.render(
19
<React.StrictMode>
0 commit comments