Skip to content

Commit

Permalink
chore: update comment location
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Mar 9, 2024
1 parent de3d126 commit 601c13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,11 @@ export default defineNuxtModule<ModuleOptions>({
if (provider.resolveFontFaces) {
const result = await provider.resolveFontFaces(fontFamily, defaults)
if (result) {
// Rewrite font source URLs to be proxied/local URLs
const fonts = normalizeFontData(result.fonts)
if (fonts.length > 0) {
return {
fallbacks: result.fallbacks || defaults.fallbacks,
// Rewrite font source URLs to be proxied/local URLs
fonts,
}
}
Expand Down

0 comments on commit 601c13b

Please sign in to comment.