debug: disable service worker

This commit is contained in:
2023-06-23 18:06:40 +02:00
parent 7b88f5e792
commit 17a8a79c62
2 changed files with 2 additions and 1 deletions

View File

@@ -41,10 +41,12 @@ 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));

View File

@@ -1,4 +1,3 @@
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{ {
"compileOnSave": false, "compileOnSave": false,
"compilerOptions": { "compilerOptions": {