mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-07 22:17:42 +00:00
fix(console): disable sw (#2021)
* fix: disable sw * angular.json disable sw
This commit is contained in:
parent
e630555a2a
commit
1b6fcebaa6
@ -89,7 +89,7 @@
|
|||||||
"maximumError": "10kb"
|
"maximumError": "10kb"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"serviceWorker": true,
|
"serviceWorker": false,
|
||||||
"ngswConfigPath": "ngsw-config.json"
|
"ngswConfigPath": "ngsw-config.json"
|
||||||
},
|
},
|
||||||
"development": {}
|
"development": {}
|
||||||
|
@ -28,7 +28,6 @@ import { RegExpPipeModule } from 'src/app/pipes/regexp-pipe/regexp-pipe.module';
|
|||||||
import { AssetService } from 'src/app/services/asset.service';
|
import { AssetService } from 'src/app/services/asset.service';
|
||||||
import { SubscriptionService } from 'src/app/services/subscription.service';
|
import { SubscriptionService } from 'src/app/services/subscription.service';
|
||||||
|
|
||||||
import { environment } from '../environments/environment';
|
|
||||||
import { AppRoutingModule } from './app-routing.module';
|
import { AppRoutingModule } from './app-routing.module';
|
||||||
import { AppComponent } from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
import { HasRoleModule } from './directives/has-role/has-role.module';
|
import { HasRoleModule } from './directives/has-role/has-role.module';
|
||||||
@ -128,7 +127,7 @@ const authConfig: AuthConfig = {
|
|||||||
MatDialogModule,
|
MatDialogModule,
|
||||||
RegExpPipeModule,
|
RegExpPipeModule,
|
||||||
OnboardingModule,
|
OnboardingModule,
|
||||||
ServiceWorkerModule.register('ngsw-worker.js', { enabled: environment.production }),
|
ServiceWorkerModule.register('ngsw-worker.js', { enabled: false }),
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
ThemeService,
|
ThemeService,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user