diff --git a/public/service_worker.js b/public/service_worker.js index 7b903ecd..08e1f717 100644 --- a/public/service_worker.js +++ b/public/service_worker.js @@ -5,7 +5,8 @@ self.addEventListener('push', function (event) { event.waitUntil(self.registration.showNotification(notification.title, { body: notification.body, - tag: notification.type + tag: notification.type, + icon: "/icons/maskable_icon_x128.png" })); } else { console.error("Push event received, but it didn't contain any data.", event);