summaryrefslogtreecommitdiff
path: root/frontend/sw.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/sw.js')
-rw-r--r--frontend/sw.js1
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, {