Revision 51440
Added by Myrto Koukouli about 6 years ago
validator.service.ts | ||
---|---|---|
19 | 19 |
@Injectable () |
20 | 20 |
export class ValidatorService { |
21 | 21 |
|
22 |
private apiUrl = apiUrl + '/validator/'; |
|
22 |
/*private apiUrl = apiUrl + '/validator/';*/ |
|
23 |
private apiUrl = process.env.API_ENDPOINT + '/validator/'; |
|
23 | 24 |
|
24 |
constructor(private http: Http) { } |
|
25 |
constructor(private http: Http) { }
|
|
25 | 26 |
|
26 | 27 |
/* returns array of sets of rules according to mode (literature, data, cris) */ |
27 | 28 |
getRuleSets(mode: string): Observable<RuleSet[]> { |
Also available in: Unified diff
all api methods work!