- Conversione Codice... Errore Service Worker regostration.
- Sistemare quasar.config.ts di piuchebuono! -Le categorie non si vedono piu !!
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
|
||||
import { register } from 'register-service-worker'
|
||||
|
||||
console.log('SWFILE: ', process.env.VITE_SERVICE_WORKER_FILE);
|
||||
console.log('SWFILE: ', import.meta.env.VITE_SERVICE_WORKER_FILE);
|
||||
|
||||
register(process.env.VITE_SERVICE_WORKER_FILE, {
|
||||
register(import.meta.env.VITE_SERVICE_WORKER_FILE, {
|
||||
scope: '/',
|
||||
/************* ✨ Codeium Command ⭐ *************/
|
||||
/**
|
||||
@@ -21,7 +21,7 @@ register(process.env.VITE_SERVICE_WORKER_FILE, {
|
||||
},
|
||||
|
||||
registered(registration) { // registration -> a ServiceWorkerRegistration instance
|
||||
console.log('REGISTERED::: !!!', process.env.VITE_SERVICE_WORKER_FILE)
|
||||
console.log('REGISTERED::: !!!', import.meta.env.VITE_SERVICE_WORKER_FILE)
|
||||
},
|
||||
cached(registration) {
|
||||
console.log('CACHED::: Content has been cached for offline use.')
|
||||
|
||||
Reference in New Issue
Block a user