From dadf638080c7b11968480565530730ce1fa739fd Mon Sep 17 00:00:00 2001 From: Ni55aN Date: Sun, 3 Mar 2024 23:44:41 +0200 Subject: [PATCH] fix: fonts prefetch --- nuxt.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 164770a0..30b3af8e 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -73,10 +73,10 @@ export default defineNuxtConfig({ link: [ { rel: 'icon', href: '/favicon.ico', sizes: 'any' }, { - rel: 'preload', href: './fonts/Ubuntu-Regular.woff2', as: 'font', type: 'font/woff2', crossorigin: '', + rel: 'preload', href: '/fonts/Ubuntu-Regular.woff2', as: 'font', type: 'font/woff2', crossorigin: '', }, { - rel: 'preload', href: './fonts/Ubuntu-Bold.woff2', as: 'font', type: 'font/woff2', crossorigin: '', + rel: 'preload', href: '/fonts/Ubuntu-Bold.woff2', as: 'font', type: 'font/woff2', crossorigin: '', }, ], meta: [