diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-07-08 17:15:14 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-07-18 14:26:56 +0200 |
commit | 0629423ce335137ce77d1ee8fe30fc0eee36d83b (patch) | |
tree | 41b4f5dcd86b7fb79c5892388444bd7063bb0d00 /client/src/main.ts | |
parent | 022856f8a54fe8810ebb599973984fd83ee7e7ec (diff) | |
download | PeerTube-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.ts | 4 |
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 @@ | |||
1 | import { enableProdMode } from '@angular/core'; | 1 | import { enableProdMode } from '@angular/core'; |
2 | import { bootstrap } from '@angular/platform-browser-dynamic'; | 2 | import { bootstrap } from '@angular/platform-browser-dynamic'; |
3 | import { provideRouter } from '@angular/router'; | ||
3 | 4 | ||
4 | import { AppComponent } from './app/app.component'; | 5 | import { AppComponent } from './app/app.component'; |
6 | import { routes } from './app/app.routes'; | ||
5 | 7 | ||
6 | if (process.env.ENV === 'production') { | 8 | if (process.env.ENV === 'production') { |
7 | enableProdMode(); | 9 | enableProdMode(); |
8 | } | 10 | } |
9 | 11 | ||
10 | bootstrap(AppComponent); | 12 | bootstrap(AppComponent, [ provideRouter(routes) ]); |