aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/main.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-07-08 17:15:14 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-07-18 14:26:56 +0200
commit0629423ce335137ce77d1ee8fe30fc0eee36d83b (patch)
tree41b4f5dcd86b7fb79c5892388444bd7063bb0d00 /client/src/main.ts
parent022856f8a54fe8810ebb599973984fd83ee7e7ec (diff)
downloadPeerTube-0629423ce335137ce77d1ee8fe30fc0eee36d83b.tar.gz
PeerTube-0629423ce335137ce77d1ee8fe30fc0eee36d83b.tar.zst
PeerTube-0629423ce335137ce77d1ee8fe30fc0eee36d83b.zip
Client: Update to Angular RC4
Diffstat (limited to 'client/src/main.ts')
-rw-r--r--client/src/main.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/main.ts b/client/src/main.ts
index 76b3f498a..f9c1d50b8 100644
--- a/client/src/main.ts
+++ b/client/src/main.ts
@@ -1,10 +1,12 @@
1import { enableProdMode } from '@angular/core'; 1import { enableProdMode } from '@angular/core';
2import { bootstrap } from '@angular/platform-browser-dynamic'; 2import { bootstrap } from '@angular/platform-browser-dynamic';
3import { provideRouter } from '@angular/router';
3 4
4import { AppComponent } from './app/app.component'; 5import { AppComponent } from './app/app.component';
6import { routes } from './app/app.routes';
5 7
6if (process.env.ENV === 'production') { 8if (process.env.ENV === 'production') {
7 enableProdMode(); 9 enableProdMode();
8} 10}
9 11
10bootstrap(AppComponent); 12bootstrap(AppComponent, [ provideRouter(routes) ]);