import { Http } from '@angular/http'
import { RestExtractor } from '../../shared/rest'
+import { ServerConfig } from '../../../../../shared'
@Injectable()
export class ConfigService {
private static BASE_CONFIG_URL = API_URL + '/api/v1/config/'
- private config: {
+ private config: ServerConfig = {
signup: {
- enabled: boolean
- }
- } = {
- signup: {
- enabled: false
+ allowed: false
}
}