Disable service-worker check
This commit is contained in:
@@ -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 {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user