diff options
Diffstat (limited to 'client/src/app/core/server/server.service.ts')
-rw-r--r-- | client/src/app/core/server/server.service.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/client/src/app/core/server/server.service.ts b/client/src/app/core/server/server.service.ts index 5351f18d5..f33e6f20c 100644 --- a/client/src/app/core/server/server.service.ts +++ b/client/src/app/core/server/server.service.ts | |||
@@ -13,6 +13,7 @@ import { sortBy } from '@app/shared/misc/utils' | |||
13 | 13 | ||
14 | @Injectable() | 14 | @Injectable() |
15 | export class ServerService { | 15 | export class ServerService { |
16 | private static BASE_SERVER_URL = environment.apiUrl + '/api/v1/server/' | ||
16 | private static BASE_CONFIG_URL = environment.apiUrl + '/api/v1/config/' | 17 | private static BASE_CONFIG_URL = environment.apiUrl + '/api/v1/config/' |
17 | private static BASE_VIDEO_URL = environment.apiUrl + '/api/v1/videos/' | 18 | private static BASE_VIDEO_URL = environment.apiUrl + '/api/v1/videos/' |
18 | private static BASE_LOCALE_URL = environment.apiUrl + '/client/locales/' | 19 | private static BASE_LOCALE_URL = environment.apiUrl + '/client/locales/' |
@@ -147,10 +148,6 @@ export class ServerService { | |||
147 | return this.videoPrivacies | 148 | return this.videoPrivacies |
148 | } | 149 | } |
149 | 150 | ||
150 | getAbout () { | ||
151 | return this.http.get<About>(ServerService.BASE_CONFIG_URL + '/about') | ||
152 | } | ||
153 | |||
154 | private loadVideoAttributeEnum ( | 151 | private loadVideoAttributeEnum ( |
155 | attributeName: 'categories' | 'licences' | 'languages' | 'privacies', | 152 | attributeName: 'categories' | 'licences' | 'languages' | 'privacies', |
156 | hashToPopulate: VideoConstant<string | number>[], | 153 | hashToPopulate: VideoConstant<string | number>[], |