aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/main.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-12 11:59:28 +0100
committerChocobozzz <me@florianbigard.com>2017-12-12 13:58:03 +0100
commitb682782093a22a729eea8862476ff1c8aac4ef0c (patch)
tree40ab06be62df07d43ff7799011e4e3427b348eec /client/src/main.ts
parent7bfd1b1edb7ea4ea6516b6a74c4e9af938d0bdc6 (diff)
downloadPeerTube-b682782093a22a729eea8862476ff1c8aac4ef0c.tar.gz
PeerTube-b682782093a22a729eea8862476ff1c8aac4ef0c.tar.zst
PeerTube-b682782093a22a729eea8862476ff1c8aac4ef0c.zip
Upgrade to angular 5
Diffstat (limited to 'client/src/main.ts')
-rw-r--r--client/src/main.ts15
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 @@
1import { enableProdMode } from '@angular/core'; 1import { enableProdMode } from '@angular/core'
2import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 2import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'
3 3
4import { AppModule } from './app/app.module'; 4import { AppModule } from './app/app.module'
5import { environment } from './environments/environment'; 5import { environment } from './environments/environment'
6 6
7if (environment.production) { 7if (environment.production) {
8 enableProdMode(); 8 enableProdMode()
9} 9}
10 10
11platformBrowserDynamic().bootstrapModule(AppModule) 11platformBrowserDynamic()
12 .catch(err => console.log(err)); 12 .bootstrapModule(AppModule)
13 .catch(err => console.log(err))