59 - Fix 7-segment font failing to load from the Vite dev server
Some checks failed
CI / ci (push) Failing after 1m39s
CI / ci (pull_request) Failing after 1m38s
CI / build (push) Failing after 41s
CI / build (pull_request) Failing after 40s

This commit is contained in:
myrmidex 2026-08-16 09:44:06 +02:00
parent 7809dce474
commit 1f53dc8ca9
3 changed files with 3 additions and 3 deletions

View file

@ -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;
}

View file

@ -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>