disable service worker updates

This commit is contained in:
2023-06-24 12:11:50 +02:00
parent 6f6aa25553
commit c1f6ae1042

View File

@@ -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 {
}); });
} }
}) })
*/
} }
} }