diff options
Diffstat (limited to 'client/src/app/app.module.ts')
-rw-r--r-- | client/src/app/app.module.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts index 34114b60b..cae99786b 100644 --- a/client/src/app/app.module.ts +++ b/client/src/app/app.module.ts | |||
@@ -1,11 +1,9 @@ | |||
1 | import { NgModule } from '@angular/core' | 1 | import { NgModule } from '@angular/core' |
2 | import { BrowserModule } from '@angular/platform-browser' | 2 | import { BrowserModule } from '@angular/platform-browser' |
3 | import { ServiceWorkerModule } from '@angular/service-worker' | ||
4 | import { AboutModule } from '@app/about' | 3 | import { AboutModule } from '@app/about' |
5 | import { ResetPasswordModule } from '@app/reset-password' | 4 | import { ResetPasswordModule } from '@app/reset-password' |
6 | 5 | ||
7 | import { MetaLoader, MetaModule, MetaStaticLoader, PageTitlePositioning } from '@ngx-meta/core' | 6 | import { MetaLoader, MetaModule, MetaStaticLoader, PageTitlePositioning } from '@ngx-meta/core' |
8 | import { environment } from '../environments/environment' | ||
9 | 7 | ||
10 | import { AccountModule } from './account' | 8 | import { AccountModule } from './account' |
11 | 9 | ||
@@ -60,9 +58,7 @@ export function metaFactory (): MetaLoader { | |||
60 | MetaModule.forRoot({ | 58 | MetaModule.forRoot({ |
61 | provide: MetaLoader, | 59 | provide: MetaLoader, |
62 | useFactory: (metaFactory) | 60 | useFactory: (metaFactory) |
63 | }), | 61 | }) |
64 | |||
65 | ServiceWorkerModule.register('/ngsw-worker.js', { enabled: environment.production }) | ||
66 | ], | 62 | ], |
67 | providers: [ ] | 63 | providers: [ ] |
68 | }) | 64 | }) |