Version 0.5.25

Registration with no need to insert "invitante"
This commit is contained in:
paoloar77
2022-11-02 14:59:32 +01:00
parent e76db7467f
commit 83e6f92978
29 changed files with 569 additions and 147 deletions

View File

@@ -13,6 +13,10 @@ register(process.env.SERVICE_WORKER_FILE ? process.env.SERVICE_WORKER_FILE : '',
registered(registration) { // registration -> a ServiceWorkerRegistration instance
console.log('REGISTERED::: !!!', process.env.SERVICE_WORKER_FILE)
setInterval(() => {
registration.update()
}, 5000) // every 5 seconds
},
cached(registration) {
console.log('CACHED::: Content has been cached for offline use.')