diff --git a/src/module.ts b/src/module.ts index 765bb2b..7fbe54b 100644 --- a/src/module.ts +++ b/src/module.ts @@ -182,11 +182,11 @@ export default defineNuxtModule({ 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, } }