diff options
Diffstat (limited to 'client/src/app/core/config/config.service.ts')
-rw-r--r-- | client/src/app/core/config/config.service.ts | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/client/src/app/core/config/config.service.ts b/client/src/app/core/config/config.service.ts index a83ec61d2..b8cb15e84 100644 --- a/client/src/app/core/config/config.service.ts +++ b/client/src/app/core/config/config.service.ts | |||
@@ -2,16 +2,13 @@ import { Injectable } from '@angular/core' | |||
2 | import { Http } from '@angular/http' | 2 | import { Http } from '@angular/http' |
3 | 3 | ||
4 | import { RestExtractor } from '../../shared/rest' | 4 | import { RestExtractor } from '../../shared/rest' |
5 | import { ServerConfig } from '../../../../../shared' | ||
5 | 6 | ||
6 | @Injectable() | 7 | @Injectable() |
7 | export class ConfigService { | 8 | export class ConfigService { |
8 | private static BASE_CONFIG_URL = API_URL + '/api/v1/config/' | 9 | private static BASE_CONFIG_URL = API_URL + '/api/v1/config/' |
9 | 10 | ||
10 | private config: { | 11 | private config: ServerConfig = { |
11 | signup: { | ||
12 | enabled: boolean | ||
13 | } | ||
14 | } = { | ||
15 | signup: { | 12 | signup: { |
16 | enabled: false | 13 | enabled: false |
17 | } | 14 | } |