diff options
| author | altaf-creator <dev@altafcreator.com> | 2026-01-16 20:53:52 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2026-01-16 20:53:52 +0800 |
| commit | 168173b66be30b13cb2d82c4c83cf474fbe129bb (patch) | |
| tree | 1a18e158dfdfc3963a8e726239d2a30ae5088e6d /frontend/sw.js | |
| parent | 11d6386023a3d9dcd0e1e1fcaaf9953859d443ee (diff) | |
debug
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 fa6acdd..a1f4048 100644 --- a/frontend/sw.js +++ b/frontend/sw.js @@ -25,6 +25,7 @@ self.addEventListener('push', (e) => { self.addEventListener("notificationclick", (event) => { if (event.action === "collect") { + console.log(event); timerId = event.notification.data.timerId; console.log("finishing timer! w/ id "+timerId.toString()); fetch(`${API_URL}/finish`, { |
