|
@ -380,7 +380,6 @@ export default class App extends Vue { |
|
|
.then((response: VapidResponse) => { |
|
|
.then((response: VapidResponse) => { |
|
|
this.b64 = response.data?.vapidKey || ""; |
|
|
this.b64 = response.data?.vapidKey || ""; |
|
|
console.log("Got vapid key:", this.b64); |
|
|
console.log("Got vapid key:", this.b64); |
|
|
console.log("response...", response); |
|
|
|
|
|
navigator.serviceWorker.addEventListener("controllerchange", () => { |
|
|
navigator.serviceWorker.addEventListener("controllerchange", () => { |
|
|
console.log("New service worker is now controlling the page"); |
|
|
console.log("New service worker is now controlling the page"); |
|
|
}); |
|
|
}); |
|
|