Create service worker in app

This commit is contained in:
Tusooa Zhu 2022-02-21 11:14:20 -05:00 committed by tusooa
commit a959104333
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
3 changed files with 5 additions and 1 deletions

View file

@ -143,4 +143,4 @@ self.addEventListener('notificationclick', (event) => {
}))
})
console.log('sw here')
self.addEventListener('fetch', _ => _)