From 22068bd2b105aceafef1a485c09ebad77609fb50 Mon Sep 17 00:00:00 2001 From: iris Date: Mon, 17 Aug 2026 00:13:40 +0200 Subject: [PATCH] swarm-ui: use absolute asset paths in index.html Relative hrefs (static/main.js) only resolve correctly for a route one path segment deep - the browser resolves them against the current URL's directory, so a route two-plus segments deep would 404 the JS/CSS silently once this is wired to a real server. Made absolute (/static/main.js), matching what build.mjs's own comment already documents these paths as being served at. --- frontend/packages/swarm-ui/src/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/packages/swarm-ui/src/index.html b/frontend/packages/swarm-ui/src/index.html index 7dd0b8fd..86682903 100644 --- a/frontend/packages/swarm-ui/src/index.html +++ b/frontend/packages/swarm-ui/src/index.html @@ -5,13 +5,13 @@ hyperhive swarm - - - - + + + +
- +