chet novoe
This commit is contained in:
@@ -5,8 +5,8 @@ self.addEventListener("push", (event) => {
|
||||
console.log(data);
|
||||
const options = {
|
||||
body: data.body,
|
||||
icon: "/icon.png",
|
||||
badge: "/badge.png",
|
||||
icon: data.icon,
|
||||
badge: data.badge,
|
||||
data: data.url
|
||||
};
|
||||
event.waitUntil(self.registration.showNotification(data.title, options));
|
||||
|
||||
Reference in New Issue
Block a user