Skip to content

Commit 31c0dfb

Browse files
authored
fix: preloading fonts (immich-app#13132)
1 parent 6b84624 commit 31c0dfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/app.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96.png" />
1414
<link rel="icon" type="image/png" sizes="144x144" href="/favicon-144.png" />
1515
<link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180.png" />
16-
<link rel="preload" as="font" type="font/ttf" href="%app.font%" />
17-
<link rel="preload" as="font" type="font/ttf" href="%app.monofont%" />
16+
<link rel="preload" as="font" type="font/ttf" href="%app.font%" crossorigin="anonymous" />
17+
<link rel="preload" as="font" type="font/ttf" href="%app.monofont%" crossorigin="anonymous" />
1818
%sveltekit.head%
1919
<style>
2020
/* prevent FOUC */

0 commit comments

Comments
 (0)