From 0ce8e84a0300234f9f2694b71691a2f1e3d7e3ac Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Tue, 30 Dec 2025 00:12:32 +0800 Subject: pofrijvbghx --- frontend/sw.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'frontend/sw.js') diff --git a/frontend/sw.js b/frontend/sw.js index f5d5fa8..9653990 100644 --- a/frontend/sw.js +++ b/frontend/sw.js @@ -2,8 +2,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, + self.registration.showNotification("notif received", { + body: "received", }); }); -- cgit v1.2.3