From 2bb5d344f6f1c05936172eaff5157f9740d6ba96 Mon Sep 17 00:00:00 2001 From: jochen Date: Wed, 14 Oct 2026 07:07:11 +0200 Subject: [PATCH] Hold umami's check to the share route's own 404, so an unknown route cannot pass it (hq issue 145, review 262) Any route umami does not serve answers 404 too, as an HTML page. The share route answers JSON with code not-found only after the database was asked; with the database down it answers 500. --- modules/umami/module.json | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/umami/module.json b/modules/umami/module.json index 2e6895ea..d44da3cc 100644 --- a/modules/umami/module.json +++ b/modules/umami/module.json @@ -94,6 +94,7 @@ "endpoint": "web", "path": "/api/share/mesh-health", "status": 404, + "body": "\"code\":\"not-found\"", "timeout": "10s", "needs": "postgres-database" },