From e98b80929a328c67a49f049131207afd3e91a73e Mon Sep 17 00:00:00 2001 From: Mathieu Hermann Date: Sun, 5 Jan 2025 11:32:43 +0100 Subject: [PATCH] refact(app): fix formating --- src/app/app.config.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/app/app.config.ts b/src/app/app.config.ts index d76b229..f16a28e 100644 --- a/src/app/app.config.ts +++ b/src/app/app.config.ts @@ -5,8 +5,12 @@ import { routes } from './app.routes'; import { provideServiceWorker } from '@angular/service-worker'; export const appConfig: ApplicationConfig = { - providers: [provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes, withHashLocation()), provideServiceWorker('ngsw-worker.js', { + providers: [ + provideZoneChangeDetection({ eventCoalescing: true }), + provideRouter(routes, withHashLocation()), + provideServiceWorker('ngsw-worker.js', { enabled: !isDevMode(), registrationStrategy: 'registerWhenStable:30000' - })] + }) + ] };