diff options
Diffstat (limited to 'client/src/main.ts')
-rw-r--r-- | client/src/main.ts | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/client/src/main.ts b/client/src/main.ts index 91ec6da5f..f3825fe50 100644 --- a/client/src/main.ts +++ b/client/src/main.ts | |||
@@ -1,12 +1,13 @@ | |||
1 | import { enableProdMode } from '@angular/core'; | 1 | import { enableProdMode } from '@angular/core' |
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; | 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic' |
3 | 3 | ||
4 | import { AppModule } from './app/app.module'; | 4 | import { AppModule } from './app/app.module' |
5 | import { environment } from './environments/environment'; | 5 | import { environment } from './environments/environment' |
6 | 6 | ||
7 | if (environment.production) { | 7 | if (environment.production) { |
8 | enableProdMode(); | 8 | enableProdMode() |
9 | } | 9 | } |
10 | 10 | ||
11 | platformBrowserDynamic().bootstrapModule(AppModule) | 11 | platformBrowserDynamic() |
12 | .catch(err => console.log(err)); | 12 | .bootstrapModule(AppModule) |
13 | .catch(err => console.log(err)) | ||