diff --git a/webapp/src/components/HomeView.vue b/webapp/src/components/HomeView.vue index 31a7e8b1..152b9eb4 100644 --- a/webapp/src/components/HomeView.vue +++ b/webapp/src/components/HomeView.vue @@ -88,8 +88,8 @@ export default { const socketProtocol = window.location.protocol === "https:" ? "wss:" : "ws:"; - const port = 80; // window.location.port; - const host = "192.168.20.110"; //window.location.hostname; + const port = window.location.port; + const host = window.location.hostname; const webSocketUrl = socketProtocol + "//" + host + ":" + port + "/ws"; this.connection = new WebSocket(webSocketUrl);