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.
17 lines
548 B
HTML
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>
|