Version 0.5.25
Registration with no need to insert "invitante"
This commit is contained in:
@@ -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.')
|
||||
|
||||
Reference in New Issue
Block a user