This commit is contained in:
Karl 2025-07-17 17:19:21 +01:00
parent d048360c11
commit 978b9b2c71

View File

@ -93,6 +93,7 @@
return response.json();
})
.then(data => {
console.log('Received VAPID public key:', data.public_key);
const applicationServerKey = urlB64ToUint8Array(data.public_key);
registration.pushManager.subscribe({
userVisibleOnly: true,