diff options
Diffstat (limited to 'src/sw-nwc.js')
| -rw-r--r-- | src/sw-nwc.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sw-nwc.js b/src/sw-nwc.js index a73a611..108c393 100644 --- a/src/sw-nwc.js +++ b/src/sw-nwc.js @@ -80,7 +80,7 @@ self.addEventListener('push', (e) => { await self.registration.showNotification(handled.notify.title, { body: handled.notify.body, icon: 'icon-192.png', badge: 'icon-192.png', - tag: 'nwc-incoming', renotify: true, + tag: handled.notify.tag || 'nwc-incoming', renotify: true, data: { url: './' }, }); return; |
