fix(console): disable sw (#2021)

* fix: disable sw

* angular.json disable sw
This commit is contained in:
Max Peintner 2021-07-14 10:32:14 +02:00 committed by GitHub
parent e630555a2a
commit 1b6fcebaa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -89,7 +89,7 @@
"maximumError": "10kb"
}
],
"serviceWorker": true,
"serviceWorker": false,
"ngswConfigPath": "ngsw-config.json"
},
"development": {}

View File

@ -28,7 +28,6 @@ import { RegExpPipeModule } from 'src/app/pipes/regexp-pipe/regexp-pipe.module';
import { AssetService } from 'src/app/services/asset.service';
import { SubscriptionService } from 'src/app/services/subscription.service';
import { environment } from '../environments/environment';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { HasRoleModule } from './directives/has-role/has-role.module';
@ -128,7 +127,7 @@ const authConfig: AuthConfig = {
MatDialogModule,
RegExpPipeModule,
OnboardingModule,
ServiceWorkerModule.register('ngsw-worker.js', { enabled: environment.production }),
ServiceWorkerModule.register('ngsw-worker.js', { enabled: false }),
],
providers: [
ThemeService,