diff --git a/public/404.html b/public/404.html index b66ca15a240658534b456ab2a4ecaf06090bcc7d..82a9ef011eee06b7511a574e2c9b2b29c9e45f42 100644 --- a/public/404.html +++ b/public/404.html @@ -6,7 +6,7 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Seite nicht gefunden 😞</title> - <link href="css/fsten-org.css" rel="stylesheet"> + <link href="/css/fsten-org.css" rel="stylesheet"> </head> <body> @@ -65,10 +65,10 @@ document.getElementById("goback").classList.remove("is-invisible") } </script> -<script src="js/fuse.js@6.4.6.js"></script> +<script src="/js/fuse.js@6.4.6.js"></script> <script> async function addFuzzySearch() { - const vanityMap = await (await fetch("./vanitymap.json")).json() + const vanityMap = await (await fetch("/vanitymap.json")).json() const keys = Object.keys(vanityMap); const fuse = new Fuse(keys, {}) const pathToSearchFor = window.location.pathname.replace("/", "").replace(".html", "").trim();