diff --git a/index.html b/index.html
index ec7eb49..462d506 100644
--- a/index.html
+++ b/index.html
@@ -102,7 +102,7 @@
feeds: [],
};
},
- async created() {
+ async mounted() {
const protocol = window.location.protocol === 'https:' ? 'wss://' : 'ws://';
const socket = new WebSocket(protocol + window.location.host + "/ws");
socket.onmessage = event => {