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
This commit is contained in:
Ed Burnette 2023-12-10 17:19:51 -05:00 committed by GitHub
parent 968b8ccdbd
commit d4c846b543
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ export default defineConfig({
resolve: {
alias: {
'~': path.join(__dirname, 'src/'),
$fonts: resolve('public/fonts'),
$fonts: resolve('/fonts'),
},
},
});