Adjusted paths to work with new backend
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
439375c8b2
commit
e1a6080b83
|
@ -16,9 +16,9 @@ export class ElectionService {
|
||||||
|
|
||||||
private calculateURL = environment.backendURL + '/calculate';
|
private calculateURL = environment.backendURL + '/calculate';
|
||||||
private electionsURL = environment.backendURL + '/elections';
|
private electionsURL = environment.backendURL + '/elections';
|
||||||
private electionResultURL = environment.backendURL + '/electionResult/by-election-name/';
|
private electionResultURL = environment.backendURL + '/electionResult/';
|
||||||
private electionURL = environment.backendURL + '/elections/by-name/';
|
private electionURL = environment.backendURL + '/elections/';
|
||||||
private partiesURL = environment.backendURL + '/parties/by-election-name/';
|
private partiesURL = environment.backendURL + '/parties/';
|
||||||
|
|
||||||
httpOptions = {
|
httpOptions = {
|
||||||
headers: new HttpHeaders({ 'Content-Type': 'application/json' })
|
headers: new HttpHeaders({ 'Content-Type': 'application/json' })
|
||||||
|
|
Loading…
Reference in New Issue