From 08085ee88600f59a683678df2ce167d4cf18b605 Mon Sep 17 00:00:00 2001 From: majicmaj Date: Tue, 24 Dec 2024 13:28:49 -0500 Subject: [PATCH] chore: Update API URL in development environment and configure Workbox to not use cache for updates --- vite.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.js b/vite.config.js index f8e9fde8..1920dd68 100644 --- a/vite.config.js +++ b/vite.config.js @@ -61,6 +61,7 @@ export default defineConfig({ workbox: { skipWaiting: true, // Force the waiting service worker to become the active service worker clientsClaim: true, // Take control of uncontrolled clients as soon as the service worker becomes active + updateViaCache: 'none', // Do not use the cache for the update process }, }), ],