Service worker test
This commit is contained in:
parent
5c14a0430f
commit
eabf533d85
@ -11,6 +11,7 @@ export class ServiceWorkerManager {
|
|||||||
|
|
||||||
register() {
|
register() {
|
||||||
if(!("serviceWorker" in navigator)) {
|
if(!("serviceWorker" in navigator)) {
|
||||||
|
console.log("service worker not supported, skipping registration")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user