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