- corretto la registrazione

This commit is contained in:
Surya Paolo
2025-03-15 15:35:24 +01:00
parent e9f37b3678
commit a09a49ac37
50 changed files with 15 additions and 1201 deletions

View File

@@ -366,7 +366,7 @@ export default defineConfig((ctx) => {
// https://v2.quasar.dev/quasar-cli/developing-pwa/configuring-pwa
pwa: {
workboxMode: 'InjectManifest', // 'GenerateSW' or 'InjectManifest'
swFilename: 'sw-' + "1.2.27" + '.js',
swFilename: 'sw-' + "1.2.28" + '.js',
workboxOptions: {
swSrc: 'src-pwa/custom-service-worker.js', // Assicurati che il file esista
include: [/\.html$/, /\.js$/, /\.css$/, /\.png$/, /\.svg$/, /\.json$/], // File da precacheare