Skip to content

Commit

Permalink
fix(fonts): invalidate Nerd font from cache
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyurec committed Mar 4, 2023
1 parent 4e1245b commit 17599b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/modules/iconFont/iconFont.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const nerdFontLoad = async () => {
font-family: "nerd";
font-style: normal;
font-weight: 400;
src: url('lsp://logseq.io/${globals.pluginID}/dist/fonts/nerd-regular.ttf') format('truetype');
src: url('lsp://logseq.io/${globals.pluginID}/dist/fonts/nerd.ttf') format('truetype');
}
</style>`
);
Expand All @@ -55,7 +55,7 @@ const nerdFontLoad = async () => {
font-family: "nerd";
font-style: normal;
font-weight: 400;
src: url('lsp://logseq.io/${globals.pluginID}/dist/fonts/nerd-regular.ttf') format('truetype');
src: url('lsp://logseq.io/${globals.pluginID}/dist/fonts/nerd.ttf') format('truetype');
}
.awLi-icon {
font-family: "nerd";
Expand Down

0 comments on commit 17599b8

Please sign in to comment.