Fix Electron production CSS not loading under file://.

Strip crossorigin from the built index so stylesheets apply in the packaged app, and use a relative manifest path for the same reason.
This commit is contained in:
2026-07-22 18:37:21 +10:00
parent 57828dd33a
commit 340a719efc
3 changed files with 17 additions and 3 deletions

View File

@@ -32,7 +32,7 @@
href="https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Space+Grotesk:wght@400;600;700&display=swap"
/>
<link rel="manifest" href="/manifest.json" />
<link rel="manifest" href="./manifest.json" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="application-name" content="Paarrot" />
<meta name="apple-mobile-web-app-title" content="Paarrot" />