From bf7eda3f6a06d0127c478bfe6ce53d097be0a92c Mon Sep 17 00:00:00 2001 From: matitos Date: Sun, 20 Sep 2026 12:48:10 +0000 Subject: [PATCH] Fall back to REST polling when the WebSocket cannot connect On some mobile networks/browsers the wss:// upgrade is blocked even though the page loads (the server side is verified working: a browser-style handshake gets 101). After three socket failures the header now shows "polling (5s)" instead of a misleading perpetual "reconnecting", since the 5s REST poll keeps all data correct. The socket error handler also surfaces the browser's message. --- frontend/src/App.vue | 13 ++++++++++--- frontend/src/api.js | 7 ++++++- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 57c7ddb..8627023 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,5 +1,5 @@