diff --git a/index.html b/index.html
index 6f1a28f..26ba594 100644
--- a/index.html
+++ b/index.html
@@ -103,7 +103,7 @@
};
},
async created() {
- const socket = new WebSocket("ws://localhost:8080/ws");
+ const socket = new WebSocket("ws://" + window.location.host + "/ws");
socket.onmessage = event => {
const feed = JSON.parse(event.data);
this.feeds.push(feed);