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