this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Perhaps need to be inside waitUntil block?

+1 -1
+1 -1
public/sw.js
··· 163 163 const { access_token, notification_type } = data; 164 164 const url = `/#/notifications?id=${tag}&access_token=${btoa(access_token)}`; 165 165 166 - event.notification.close(); 167 166 event.waitUntil( 168 167 (async () => { 168 + await event.notification.close(); 169 169 const clients = await self.clients.matchAll({ 170 170 type: 'window', 171 171 includeUncontrolled: true,