From e8cec91c7d91e41fa2647b02144584f5e1cacada Mon Sep 17 00:00:00 2001 From: RemixDev Date: Wed, 12 Jan 2022 19:40:05 +0100 Subject: [PATCH] Fixed connecting to local server hanging on some browsers --- src/App.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/App.vue b/src/App.vue index b8ae3c1..58320ec 100644 --- a/src/App.vue +++ b/src/App.vue @@ -59,6 +59,7 @@ export default { } }, mounted() { + this.isSocketConnected = socket.readyState === WebSocket.OPEN socket.addEventListener('open', () => { console.log('Connected to WebSocket') this.isSocketConnected = true