From c91df1becfbb351ed031bdc83bd1a80604652a0e Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Tue, 30 Dec 2025 23:04:41 +0800 Subject: forgot to write this file --- frontend/sw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/sw.js') diff --git a/frontend/sw.js b/frontend/sw.js index bb08623..f0ba7d8 100644 --- a/frontend/sw.js +++ b/frontend/sw.js @@ -1,5 +1,5 @@ self.addEventListener('push', (e) => { - console.log(data); + console.log(e.data); const data = e.data.json(); console.log(data); self.registration.showNotification(data.title, { -- cgit v1.2.3