Update index.php with preload for fonts and styles

This commit is contained in:
Mike Wink 2022-11-18 13:21:29 +01:00
commit 98f5fdbc9d

View file

@ -8,6 +8,10 @@
<meta http-equiv="Content-Security-Policy"
content="default-src 'self' data: ; img-src 'self' data: ; font-src 'self'; object-src 'none'; script-src 'self'; style-src 'self'">
<link rel="preload" href="/build/styles.css" as="style" />
<link rel="preload" href="/build/fonts/D-DIN.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/build/fonts/D-DIN-Bold.woff2" as="font" type="font/woff2" crossorigin>
<link rel="manifest"
href="/manifest.json">