aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/main.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-08-23 16:54:21 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-08-23 16:54:21 +0200
commitde59c48f5f317018e3f746bbe4a7b7efe00109f2 (patch)
treebc3d007c5aaed8dc72119763f3b1731c5777f218 /client/src/main.ts
parentdef16d33d19153c6583fa8a30634760b3d64d34c (diff)
downloadPeerTube-de59c48f5f317018e3f746bbe4a7b7efe00109f2.tar.gz
PeerTube-de59c48f5f317018e3f746bbe4a7b7efe00109f2.tar.zst
PeerTube-de59c48f5f317018e3f746bbe4a7b7efe00109f2.zip
Client: centralize http res extraction in a service
Diffstat (limited to 'client/src/main.ts')
-rw-r--r--client/src/main.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/main.ts b/client/src/main.ts
index 7c058e12f..7caabe914 100644
--- a/client/src/main.ts
+++ b/client/src/main.ts
@@ -9,7 +9,7 @@ import { bootstrap } from '@angular/platform-browser-dynamic';
9import { provideRouter } from '@angular/router'; 9import { provideRouter } from '@angular/router';
10 10
11import { routes } from './app/app.routes'; 11import { routes } from './app/app.routes';
12import { AuthHttp, AuthService } from './app/shared'; 12import { AuthHttp, AuthService, RestExtractor } from './app/shared';
13import { AppComponent } from './app/app.component'; 13import { AppComponent } from './app/app.component';
14 14
15if (process.env.ENV === 'production') { 15if (process.env.ENV === 'production') {
@@ -26,6 +26,7 @@ bootstrap(AppComponent, [
26 }), 26 }),
27 27
28 AuthService, 28 AuthService,
29 RestExtractor,
29 30
30 provideRouter(routes), 31 provideRouter(routes),
31 32