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:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user