diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-12-30 23:03:24 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-12-30 23:03:24 +0800 |
| commit | b280d9da60b46d0356a0f0c0c6a4869a02f2affa (patch) | |
| tree | 4adee7d18b25f26f5a70d1dd9c756a98f66b4093 /frontend/sw.js | |
| parent | 4c779be572c9af1713e46976c73bfcd2174746f7 (diff) | |
notif json fixes
Diffstat (limited to 'frontend/sw.js')
| -rw-r--r-- | frontend/sw.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/sw.js b/frontend/sw.js index 187a66b..bb08623 100644 --- a/frontend/sw.js +++ b/frontend/sw.js @@ -1,4 +1,5 @@ self.addEventListener('push', (e) => { + console.log(data); const data = e.data.json(); console.log(data); self.registration.showNotification(data.title, { |
