modify postMessage text

This commit is contained in:
Giulio 2021-06-13 00:35:47 +02:00
parent 2101e42661
commit 343af0a437

View File

@ -21,7 +21,7 @@ if (process.env.NODE_ENV === 'production') {
},
updated (registration) {
console.log('New content is available; please refresh.')
let confirmationResult = confirm("New content found! Do you want to reload the app?")
let confirmationResult = confirm("New version found! Do you want to reload the app?")
if (confirmationResult) registration.waiting.postMessage({action: "skipWaiting"})
},
offline () {