Disable service-worker check

This commit is contained in:
2023-06-24 14:04:45 +02:00
parent e325cd29a3
commit b858dd3e02

View File

@@ -13,10 +13,10 @@ import { environment } from 'src/environments/environment';
})
export class AppComponent {
constructor(
private readonly _swUpdate: SwUpdate,
private _notifications: NotificationsService
// private readonly _swUpdate: SwUpdate,
//private _notifications: NotificationsService
) {
/*
console.log('Start versionUpdates subscribe', this._swUpdate.isEnabled, environment.production);
if (this._swUpdate.isEnabled && environment.production) {
this._swUpdate.versionUpdates.subscribe((evt) => {
@@ -43,5 +43,6 @@ export class AppComponent {
}
});
}
*/
}
}