File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ var getOutputs = function() {
68
68
69
69
var dataRequest = new XMLHttpRequest ( ) ;
70
70
dataRequest . onload = displayResults ;
71
- dataRequest . open ( "GET" , 'http://localhost:5000 /data/?key=' +
71
+ dataRequest . open ( "GET" , 'http://gapminder-api.herokuapp.com /data/?key=' +
72
72
window . datasets [ window . currentDataset ] +
73
73
'&year=' + year + '&country=' + country ) ;
74
74
dataRequest . send ( ) ;
Original file line number Diff line number Diff line change @@ -16,6 +16,6 @@ window.datasets = {};
16
16
17
17
var keysRequest = new XMLHttpRequest ( ) ;
18
18
keysRequest . onload = showInputKeys ;
19
- keysRequest . open ( "GET" , 'http://localhost:5000 /datasets/' ) ;
19
+ keysRequest . open ( "GET" , 'http://gapminder-api.herokuapp.com /datasets/' ) ;
20
20
keysRequest . send ( ) ;
21
21
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ var getDatasetOptions = function() {
50
50
51
51
var dataRequest = new XMLHttpRequest ( ) ;
52
52
dataRequest . onload = displayOptions ;
53
- dataRequest . open ( "GET" , 'http://localhost:5000 /data/help/?key=' +
53
+ dataRequest . open ( "GET" , 'http://gapminder-api.herokuapp.com /data/help/?key=' +
54
54
window . datasets [ window . currentDataset ] ) ;
55
55
dataRequest . send ( ) ;
56
56
}
You can’t perform that action at this time.
0 commit comments