Skip to content

Commit

Permalink
refact(app): fix formating
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuher committed Jan 5, 2025
1 parent 50a8871 commit e98b809
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
})]
})
]
};

0 comments on commit e98b809

Please sign in to comment.