diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-12-30 00:05:25 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-12-30 00:05:25 +0800 |
| commit | 843aa7465239544cb9e103a364699aeac193240d (patch) | |
| tree | dbc9c09c9f574a4d1c1bf25d46e93793aaebf69c /frontend | |
| parent | b1c986bde9a45942a56e3f8de68a76e599ad9b02 (diff) | |
some more debug
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/sw.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/sw.js b/frontend/sw.js index bf38ae2..f5d5fa8 100644 --- a/frontend/sw.js +++ b/frontend/sw.js @@ -1,5 +1,7 @@ self.addEventListener('push', (e) => { const data = e.data.json(); + console.log(data); + alert(data); self.registration.showNotification(data.title, { body: data.body, icon: data.icon, |
