Skip to content

Open source personal finance application

refactor(sw): move sw.ts from service-worker/ to app root

Ilya Komichev9969b0a48b0b
diff --git a/app/service-worker/sw.ts b/app/sw.ts
similarity index 100%
rename from app/service-worker/sw.ts
rename to app/sw.ts
diff --git a/nuxt.config.ts b/nuxt.config.ts
index fe9760a4..f1fc7120 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -153,7 +153,7 @@ export default defineNuxtConfig({
theme_color: '#171717',
},
registerType: 'autoUpdate',
- srcDir: 'service-worker',
+ srcDir: '.',
strategies: 'injectManifest',
},