Add path prefix for header links (manifest, theme-setter, etc.)

This commit is contained in:
Alessio 2024-03-29 21:48:11 -07:00
parent cc782b5eae
commit 73049215dd

View File

@ -7,7 +7,7 @@ export default function Document() {
{/* preload fonts */}
<link
rel="preload"
href="/AlphaLyrae.woff2"
href="/apps/vegas/AlphaLyrae.woff2"
as="font"
type="font/woff2"
crossOrigin="anonymous"
@ -18,26 +18,26 @@ export default function Document() {
<link
rel="apple-touch-icon"
sizes="180x180"
href="/apple-touch-icon.png"
href="/apps/vegas/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon-32x32.png"
href="/apps/vegas/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon-16x16.png"
href="/apps/vegas/favicon-16x16.png"
/>
{/* scripts */}
<script src="/theme-setter.js" type="text/javascript" async />
<script src="/apps/vegas/theme-setter.js" type="text/javascript" async />
{/* manifest */}
<link rel="manifest" href="/manifest.json" />
<link rel="manifest" href="/apps/vegas/manifest.json" />
</Head>
<Html>
<body