added path variable

This commit is contained in:
2026-10-23 19:38:36 +02:00
parent 19428550ca
commit 0913adaca5
9 changed files with 61 additions and 13 deletions
+6 -2
View File
@@ -2,14 +2,18 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- Relative asset URLs need a trailing slash when served under a sub-path (/website -> /website/). -->
<script>
if (!/\/$|\.[a-z0-9]+$/i.test(location.pathname)) location.replace(location.pathname + '/' + location.search + location.hash);
</script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/svg+xml" href="/assets/favicon.svg" />
<link rel="icon" type="image/svg+xml" href="./assets/favicon.svg" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet" />
<title>Action Blocks</title>
<!-- Runtime configuration, rewritten by the container on startup. -->
<script src="/config.js"></script>
<script src="./config.js"></script>
</head>
<body>
<div id="root"></div>