From ada8f92684f424f118a60805e72d1ce5294959cd Mon Sep 17 00:00:00 2001 From: akram Date: Mon, 22 Jan 2024 22:09:58 +0530 Subject: [PATCH] fixes --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 7626b3d..0ef8547 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -43,7 +43,7 @@ export default defineConfig({ }, }, { - urlPattern: /^https:\/\/www\.rocketium\.com\/*.(otf|ttf)/i, + urlPattern: /https:\/\/www\.rocketium\.com\/.*\.(ttf|otf|woff|woff2)/i, handler: 'CacheFirst', options: { cacheName: 'rocketium-fonts-cache',