diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 43b9a91bc..bf5d77b4f 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -62,7 +62,7 @@ export function DataFactory(dbService: NgxIndexedDBService, http: HttpClient) { }, }), ServiceWorkerModule.register('ngsw-worker.js', { - enabled: AppConfig.production && !isElectron, + enabled: AppConfig.production && !isElectron(), registrationStrategy: 'registerWhenStable:30000', }), ],