From fce76c81fef51a598ca88f183b560ed6c30e8fd2 Mon Sep 17 00:00:00 2001 From: Florian Hotze Date: Thu, 18 Jul 2024 11:47:11 +0200 Subject: [PATCH] Fix 404s for overview page, semantic model tabs and add-on store (#2678) Fixes #2665. Signed-off-by: Florian Hotze --- .../java/org/openhab/ui/internal/UIErrorPageServlet.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.ui/src/main/java/org/openhab/ui/internal/UIErrorPageServlet.java b/bundles/org.openhab.ui/src/main/java/org/openhab/ui/internal/UIErrorPageServlet.java index d04c6b408b..92adb1aab3 100644 --- a/bundles/org.openhab.ui/src/main/java/org/openhab/ui/internal/UIErrorPageServlet.java +++ b/bundles/org.openhab.ui/src/main/java/org/openhab/ui/internal/UIErrorPageServlet.java @@ -44,8 +44,9 @@ public class UIErrorPageServlet extends HttpServlet { private static final long serialVersionUID = 6472170444750947727L; private static final String INDEX_FILE = "/app/index.html"; - private static final Set VALID_ROUTE_SEGMENTS = Set.of("about", "analyzer", "developer", "home", "page", - "profile", "res", "settings", "setup-wizard"); + private static final Set VALID_ROUTE_SEGMENTS = Set.of("about", "addons", "analyzer", "developer", + "equipment", "home", "locations", "overview", "page", "profile", "properties", "res", "settings", + "setup-wizard"); private final Logger logger = LoggerFactory.getLogger(UIErrorPageServlet.class);