mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-12 12:06:16 -08:00
refactor: fix isElectron() call
This commit is contained in:
1 parent
9b557690c1
commit
68fbc24ec1
1 file changed
+1
-1
@@ -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',
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user