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 { export class AppComponent {
constructor( constructor(
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);
if (this._swUpdate.isEnabled && environment.production) { if (this._swUpdate.isEnabled && environment.production) {
this._swUpdate.versionUpdates.subscribe((evt) => { this._swUpdate.versionUpdates.subscribe((evt) => {
@@ -43,5 +43,6 @@ export class AppComponent {
} }
}); });
} }
*/
} }
} }