diff --git a/templates/base.html b/templates/base.html index 8d2739a..e771e33 100644 --- a/templates/base.html +++ b/templates/base.html @@ -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,