|
|
@@ -3,6 +3,7 @@ import { Rule } from '../../../../api/model/rule'; |
|
|
|
import { RulesService } from '../../../../api/api/rules.service'; |
|
|
|
import { RuleDataService } from '../../service/rule-data.service'; |
|
|
|
import { Router } from '@angular/router'; |
|
|
|
import { environment } from '../../../environments/environment'; |
|
|
|
@Component({ |
|
|
|
selector: 'app-rules', |
|
|
|
templateUrl: './rules.component.html', |
|
|
@@ -15,7 +16,7 @@ export class RulesComponent implements OnInit { |
|
|
|
protected ruleDataService: RuleDataService, |
|
|
|
protected router: Router, |
|
|
|
) { |
|
|
|
rulesService.configuration.basePath = 'http://localhost:3000'; |
|
|
|
rulesService.configuration.basePath = environment.apiUrl; |
|
|
|
} |
|
|
|
|
|
|
|
|