mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-02-07 12:31:01 -05:00
Put back icons
This commit is contained in:
@@ -44,8 +44,8 @@ self.addEventListener('push', event => {
|
||||
const title = data.title || 'Notification';
|
||||
const options = {
|
||||
body: data.body || 'You have a new message',
|
||||
// icon: '/icons/icon-192x192.png',
|
||||
// badge: '/icons/icon-192x192.png',
|
||||
icon: '/icons/icon-192x192.png',
|
||||
badge: '/icons/icon-192x192.png',
|
||||
data: data.url || '/'
|
||||
};
|
||||
event.waitUntil(self.registration.showNotification(title, options));
|
||||
|
||||
Reference in New Issue
Block a user