From e90880980d7ad914449723c40b29c0cfeecd926a Mon Sep 17 00:00:00 2001 From: Ed Burnette Date: Sun, 10 Dec 2023 17:19:51 -0500 Subject: [PATCH] fix: fonts warning (#1318) * fix: Fix a fonts warning The warning was: files in the public directory are served at the root path. Instead of /public/fonts/soehne-buch.woff2, use /fonts/soehne-buch.woff2. * See if it likes /fonts better --- client/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/vite.config.ts b/client/vite.config.ts index a6e169e9fa7..728bc7b5669 100644 --- a/client/vite.config.ts +++ b/client/vite.config.ts @@ -42,7 +42,7 @@ export default defineConfig({ resolve: { alias: { '~': path.join(__dirname, 'src/'), - $fonts: resolve('public/fonts'), + $fonts: resolve('/fonts'), }, }, });