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

@ -146,3 +146,5 @@ export function unregisterPushNotifications (token) {
]).catch((e) => console.warn(`Failed to disable Web Push Notifications: ${e.message}`))
}
}
export { getOrCreateServiceWorker }