disable service worker updates
This commit is contained in:
@@ -16,6 +16,7 @@ export class AppComponent {
|
|||||||
private readonly _swUpdate: SwUpdate,
|
private readonly _swUpdate: SwUpdate,
|
||||||
private _notifications: NotificationsService
|
private _notifications: NotificationsService
|
||||||
) {
|
) {
|
||||||
|
/*
|
||||||
console.log('Start versionUpdates subscribe', this._swUpdate.isEnabled, environment.production);
|
console.log('Start versionUpdates subscribe', this._swUpdate.isEnabled, environment.production);
|
||||||
this._swUpdate.versionUpdates.subscribe((evt) => {
|
this._swUpdate.versionUpdates.subscribe((evt) => {
|
||||||
console.log('Version update', evt);
|
console.log('Version update', evt);
|
||||||
@@ -40,5 +41,6 @@ export class AppComponent {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user