mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
chore(config): conditionally enable store devtools based on production mode
Entire-Checkpoint: 4bfb62f988b7
This commit is contained in:
1 parent
0d79466c84
commit
cc239f3b3f
1 file changed
+1
-4
@@ -69,10 +69,7 @@ export const appConfig: ApplicationConfig = {
|
||||
}),
|
||||
provideEffects([PlaylistEffects]),
|
||||
provideRouterStore(),
|
||||
provideStoreDevtools({
|
||||
maxAge: 25,
|
||||
logOnly: AppConfig.production,
|
||||
}),
|
||||
...(AppConfig.production ? [] : [provideStoreDevtools({ maxAge: 25 })]),
|
||||
provideServiceWorker('ngsw-worker.js', {
|
||||
enabled: AppConfig.production && !!window.electron,
|
||||
registrationStrategy: 'registerWhenStable:30000',
|
||||
|
||||
Reference in new issue
Block a user