From caf212f916ce8fb31d7dba8bbe6d537092d324d5 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 30 Oct 2026 20:23:39 +0100 Subject: dashboard: let reconnecting pulse, too --- src/api/dashboard/dashboard.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/api/dashboard/dashboard.html') diff --git a/src/api/dashboard/dashboard.html b/src/api/dashboard/dashboard.html index 0c03ebf..870b0df 100644 --- a/src/api/dashboard/dashboard.html +++ b/src/api/dashboard/dashboard.html @@ -878,6 +878,8 @@ function connect() { setTimeout(connect, 3000); }); events.addEventListener("error", () => { + // Each attempt that failed: a breath too, so it shows it keeps trying. + pulse(); live = false; if (events.readyState === EventSource.CLOSED) { // Given up (an HTTP error, e.g. the node is up but not serving the page yet). -- cgit v1.3.1