From 1af55c0d192211af6b7833c747142fec4a1310f7 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Fri, 29 Mar 2024 17:13:01 +0100 Subject: [PATCH] add font file types to offline cache --- website/astro.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/astro.config.mjs b/website/astro.config.mjs index 6389debb..774e5234 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -69,7 +69,7 @@ export default defineConfig({ registerType: 'autoUpdate', injectRegister: 'auto', workbox: { - globPatterns: ['**/*.{js,css,html,ico,png,svg,json,wav,mp3,ogg}'], + globPatterns: ['**/*.{js,css,html,ico,png,svg,json,wav,mp3,ogg,ttf,woff2,TTF,otf}'], runtimeCaching: [ { urlPattern: ({ url }) =>