From c6a04969273bcd80fdbd5d399039fae1f8987bdb Mon Sep 17 00:00:00 2001 From: creeper123123321 <7974274+creeper123123321@users.noreply.github.com> Date: Sun, 7 Mar 2021 13:42:16 -0300 Subject: [PATCH] try to fix sw --- src/main/resources/web/sw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/web/sw.js b/src/main/resources/web/sw.js index be3d602..7bd7e13 100644 --- a/src/main/resources/web/sw.js +++ b/src/main/resources/web/sw.js @@ -1,5 +1,5 @@ self.addEventListener("notificationclick", event => { - console.log("On notification click: ", event); + console.log("On notification click: " + event); event.preventDefault(); event.notification.close(); self.clients.matchAll({type: "window"}).then(it => it.forEach(c => c.postMessage({tag: event.notification.tag, action: event.action})));