Skip to content

Commit

Permalink
fix: fonts warning (danny-avila#1318)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
eburnette authored Dec 10, 2023
1 parent 1ac39e7 commit e908809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default defineConfig({
resolve: {
alias: {
'~': path.join(__dirname, 'src/'),
$fonts: resolve('public/fonts'),
$fonts: resolve('/fonts'),
},
},
});
Expand Down

0 comments on commit e908809

Please sign in to comment.