ext: /health check blocks recording when the backend is offline, strobing offline alarm in popup

This commit is contained in:
Stefano Zini
2026-11-10 14:51:20 +01:00
parent d802b06c88
commit 430d909396
5 changed files with 47 additions and 7 deletions
+3
View File
@@ -859,6 +859,9 @@ class Handler(BaseHTTPRequestHandler):
)
elif parsed.path == "/status":
self._json(status())
# Cheap liveness probe for the extension (checked before recording starts).
elif parsed.path == "/health":
self._send(b"ok")
elif parsed.path == "/report":
file_path = out_root / name / "report.html"
self._send(