59 - Fix 7-segment font failing to load from the Vite dev server
This commit is contained in:
parent
7809dce474
commit
1f53dc8ca9
3 changed files with 3 additions and 3 deletions
|
|
@ -4,7 +4,9 @@
|
|||
|
||||
@font-face {
|
||||
font-family: '7Segment';
|
||||
src: url('/fonts/7segment.woff') format('woff');
|
||||
/* Relative so Vite resolves and fingerprints it; an absolute /fonts path
|
||||
404s against the dev server, which serves assets itself. */
|
||||
src: url('../fonts/7segment.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,8 +9,6 @@
|
|||
|
||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
||||
|
||||
<link rel="preload" href="/fonts/7segment.woff" as="font" type="font/woff" crossorigin>
|
||||
|
||||
@vite(['resources/css/app.css'])
|
||||
@livewireStyles
|
||||
</head>
|
||||
|
|
|
|||
Loading…
Reference in a new issue