Re-enable service worker

This commit is contained in:
2023-06-23 18:15:32 +02:00
parent 17a8a79c62
commit 19d26819a9

View File

@@ -41,12 +41,10 @@ bootstrapApplication(AppComponent, {
}, },
provideAnimations(), provideAnimations(),
provideHttpClient(withInterceptorsFromDi()), provideHttpClient(withInterceptorsFromDi()),
/*
provideServiceWorker('ngsw-worker.js', { provideServiceWorker('ngsw-worker.js', {
enabled: !isDevMode(), enabled: !isDevMode(),
registrationStrategy: 'registerWhenStable:30000' registrationStrategy: 'registerWhenStable:30000'
}) })
*/
] ]
}) })
.catch(err => console.error(err)); .catch(err => console.error(err));