hyperhive/frontend/packages/swarm-ui/src/index.html
iris 22068bd2b1 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.
2026-08-17 00:24:44 +02:00

17 lines
548 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hyperhive swarm</title>
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<link rel="stylesheet" href="/static/colors.css">
<link rel="stylesheet" href="/static/theme.css">
<link rel="stylesheet" href="/static/swarm-ui.css">
<link rel="stylesheet" href="/static/main.css">
</head>
<body>
<div id="root"></div>
<script type="module" src="/static/main.js"></script>
</body>
</html>