Svelte: Fix resource location when using the subdirectory

This commit is contained in:
Alessandro Pignotti 2024-10-14 22:12:04 +02:00
parent f3d0ab6fb3
commit 7172350071

View file

@ -23,12 +23,12 @@
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="shortcut icon" href="./tower.ico">
<link rel="shortcut icon" href="/tower.ico">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel='stylesheet' href='scrollbar.css'>
<link rel='stylesheet' href='/scrollbar.css'>
<!-- Serviceworker script that adds the COI and CORS headers to the response headers in cases where the server does not support it. -->
<script src="serviceWorker.js"></script>
<script src="/serviceWorker.js"></script>
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">