From b858dd3e026e74fb6201a379a65459625538e37e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zieli=C5=84ski?= Date: Sat, 24 Jun 2023 14:04:45 +0200 Subject: [PATCH] Disable service-worker check --- Frontend/src/app/app.component.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Frontend/src/app/app.component.ts b/Frontend/src/app/app.component.ts index 1017cd6..956fff5 100644 --- a/Frontend/src/app/app.component.ts +++ b/Frontend/src/app/app.component.ts @@ -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 { } }); } + */ } }