From 07ee133ec725a7af425bbfa24069c8e433cc42fb Mon Sep 17 00:00:00 2001 From: ayoayco Date: Sat, 3 Aug 2024 09:30:16 +0200 Subject: [PATCH] refactor: move service-worker out of utils --- astro.config.mjs | 2 +- src/{utils => }/sw.js | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/{utils => }/sw.js (100%) diff --git a/astro.config.mjs b/astro.config.mjs index 1fcd1bb..d52b587 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -10,7 +10,7 @@ export default defineConfig({ }), integrations: [ serviceWorker({ - path: "./src/utils/sw.js", + path: "./src/sw.js", assetCachePrefix: 'cozy-reader', }) ] diff --git a/src/utils/sw.js b/src/sw.js similarity index 100% rename from src/utils/sw.js rename to src/sw.js