Fix URLs in index

pull/287/head
Flashfyre 2024-04-25 01:03:21 -04:00
parent 608a9d9400
commit e1800e6040
1 changed files with 10 additions and 10 deletions

View File

@ -9,27 +9,27 @@
<meta property="og:type" content="website" />
<meta property="og:description" content="A Pokémon fangame heavily inspired by the roguelite genre. Battle endlessly while gathering stacking items, exploring many different biomes, and reaching Pokémon stats you never thought possible." />
<meta property="og:image" content="https://pokerogue.net/logo512.png" />
<link rel="apple-touch-icon" href="/logo512.png" />
<link rel="shortcut icon" type="image/png" href="/logo512.png" />
<link rel="apple-touch-icon" href="./logo512.png" />
<link rel="shortcut icon" type="image/png" href="./logo512.png" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<style type="text/css">
@font-face {
font-family: 'emerald';
src: url('/fonts/pokemon-emerald-pro.ttf') format('truetype');
src: url('./fonts/pokemon-emerald-pro.ttf') format('truetype');
}
@font-face {
font-family: 'pkmnems';
src: url('/fonts/pkmnems.ttf') format('truetype');
src: url('./fonts/pkmnems.ttf') format('truetype');
}
</style>
<link rel="stylesheet" type="text/css" href="index.css" />
<link rel="manifest" href="/manifest.webmanifest">
<link rel="stylesheet" type="text/css" href="./index.css" />
<link rel="manifest" href="./manifest.webmanifest">
<script>
if ("serviceWorker" in navigator) {
window.addEventListener("load", function () {
navigator.serviceWorker.register("/service-worker.js").then(
navigator.serviceWorker.register("./service-worker.js").then(
function (registration) {
console.log("ServiceWorker registration successful");
},
@ -94,9 +94,9 @@
</div>
</div>
</div>
<script type="module" src="src/main.ts"></script>
<script src="src/touch-controls.js" type="module"></script>
<script src="src/debug.js" type="module"></script>
<script type="module" src="./src/main.ts"></script>
<script src="./src/touch-controls.js" type="module"></script>
<script src="./src/debug.js" type="module"></script>
</body>
</html>