diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-11 15:19:43 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-11 15:19:43 +0200 |
commit | 1840c2f7c91f5f89602a3683d85b0a9df1454855 (patch) | |
tree | 7efc223222e2d318abfaef0839a79e23be727cea /client/src/app/core | |
parent | 8635a2c70cc24a4c52558162ac058de95750271f (diff) | |
download | PeerTube-1840c2f7c91f5f89602a3683d85b0a9df1454855.tar.gz PeerTube-1840c2f7c91f5f89602a3683d85b0a9df1454855.tar.zst PeerTube-1840c2f7c91f5f89602a3683d85b0a9df1454855.zip |
Update webpack stack
Diffstat (limited to 'client/src/app/core')
-rw-r--r-- | client/src/app/core/auth/auth.service.ts | 6 | ||||
-rw-r--r-- | client/src/app/core/config/config.service.ts | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/core/auth/auth.service.ts b/client/src/app/core/auth/auth.service.ts index caf765b42..4c75df1ca 100644 --- a/client/src/app/core/auth/auth.service.ts +++ b/client/src/app/core/auth/auth.service.ts | |||
@@ -16,9 +16,9 @@ import { RestExtractor } from '../../shared/rest'; | |||
16 | 16 | ||
17 | @Injectable() | 17 | @Injectable() |
18 | export class AuthService { | 18 | export class AuthService { |
19 | private static BASE_CLIENT_URL = '/api/v1/clients/local'; | 19 | private static BASE_CLIENT_URL = API_URL + '/api/v1/clients/local'; |
20 | private static BASE_TOKEN_URL = '/api/v1/users/token'; | 20 | private static BASE_TOKEN_URL = API_URL + '/api/v1/users/token'; |
21 | private static BASE_USER_INFORMATIONS_URL = '/api/v1/users/me'; | 21 | private static BASE_USER_INFORMATIONS_URL = API_URL + '/api/v1/users/me'; |
22 | 22 | ||
23 | loginChangedSource: Observable<AuthStatus>; | 23 | loginChangedSource: Observable<AuthStatus>; |
24 | 24 | ||
diff --git a/client/src/app/core/config/config.service.ts b/client/src/app/core/config/config.service.ts index 295e68c36..407dca083 100644 --- a/client/src/app/core/config/config.service.ts +++ b/client/src/app/core/config/config.service.ts | |||
@@ -5,7 +5,7 @@ import { RestExtractor } from '../../shared/rest'; | |||
5 | 5 | ||
6 | @Injectable() | 6 | @Injectable() |
7 | export class ConfigService { | 7 | export class ConfigService { |
8 | private static BASE_CONFIG_URL = '/api/v1/config/'; | 8 | private static BASE_CONFIG_URL = API_URL + '/api/v1/config/'; |
9 | 9 | ||
10 | private config: { | 10 | private config: { |
11 | signup: { | 11 | signup: { |