mirror of
https://github.com/CompassConnections/Compass.git
synced 2025-12-23 22:18:43 -05:00
Update badge
This commit is contained in:
@@ -45,7 +45,7 @@ self.addEventListener('push', event => {
|
||||
const options = {
|
||||
body: data.body || 'You have a new message',
|
||||
icon: '/icons/icon-192x192.png',
|
||||
badge: '/icons/icon-192x192.png',
|
||||
badge: '/icons/badge-72x72.png',
|
||||
data: data.url || '/'
|
||||
};
|
||||
event.waitUntil(self.registration.showNotification(title, options));
|
||||
|
||||
Reference in New Issue
Block a user