From 17a8a79c6276bd7be016c5cf0902ba5c6bf83326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zieli=C5=84ski?= Date: Fri, 23 Jun 2023 18:06:40 +0200 Subject: [PATCH] debug: disable service worker --- Frontend/src/main.ts | 2 ++ Frontend/tsconfig.json | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Frontend/src/main.ts b/Frontend/src/main.ts index db4889f..d1b0f91 100644 --- a/Frontend/src/main.ts +++ b/Frontend/src/main.ts @@ -41,10 +41,12 @@ bootstrapApplication(AppComponent, { }, provideAnimations(), provideHttpClient(withInterceptorsFromDi()), + /* provideServiceWorker('ngsw-worker.js', { enabled: !isDevMode(), registrationStrategy: 'registerWhenStable:30000' }) + */ ] }) .catch(err => console.error(err)); diff --git a/Frontend/tsconfig.json b/Frontend/tsconfig.json index cf61615..67d1496 100644 --- a/Frontend/tsconfig.json +++ b/Frontend/tsconfig.json @@ -1,4 +1,3 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ { "compileOnSave": false, "compilerOptions": {