|
1 | 1 | var mission_id = 0; |
2 | 2 | var position_id = 0; |
3 | | -var data_url = "http://spacenear.us/tracker/datanew.php"; |
4 | | -var receivers_url = "http://spacenear.us/tracker/receivers.php"; |
5 | | -var predictions_url = "http://spacenear.us/tracker/get_predictions.php?vehicles="; |
| 3 | +var data_url = "//spacenear.us/tracker/datanew.php"; |
| 4 | +var receivers_url = "//spacenear.us/tracker/receivers.php"; |
| 5 | +var predictions_url = "//spacenear.us/tracker/get_predictions.php?vehicles="; |
6 | 6 |
|
7 | 7 | var habitat_max = 400; |
8 | | -var habitat_url = "http://habitat.habhub.org/habitat/"; |
| 8 | +var habitat_url = "//habitat.habhub.org/habitat/"; |
9 | 9 | var habitat_url_payload_telemetry = habitat_url + "_design/payload_telemetry/_view/payload_time?startkey=[%22{ID}%22,{START}]&endkey=[%22{ID}%22,{END}]&include_docs=true&limit=" + habitat_max + "&skip="; |
10 | 10 |
|
11 | 11 | var host_url = ""; |
@@ -966,7 +966,7 @@ function updateVehicleInfo(vcallsign, newPosition) { |
966 | 966 | ' style="top:'+(vehicle.image_src_size.height+55)+'px">Path</span>' + |
967 | 967 | ((vcallsign in hysplit) ? '<span class="vbutton hysplit '+((hysplit[vcallsign].getMap()) ? 'active' : '')+'"' + |
968 | 968 | ' data-vcallsign="'+vcallsign+'" style="top:'+(vehicle.image_src_size.height+55+21+10)+'px">HYSPLIT</span>' : '') + |
969 | | - ((vcallsign.substr(0, 6) in ssdv) ? '<a class="vbutton active" href="http://ssdv.habhub.org/' + vcallsign.substr(0, 6) + '"' + |
| 969 | + ((vcallsign.substr(0, 6) in ssdv) ? '<a class="vbutton active" href="//ssdv.habhub.org/' + vcallsign.substr(0, 6) + '"' + |
970 | 970 | ' target="_blank" style="top:'+(vehicle.image_src_size.height+55+((vcallsign in hysplit) ? 42 : 21)+10)+'px">SSDV</a>' : '') + |
971 | 971 | '<div class="left">' + |
972 | 972 | '<dl>'; |
@@ -1313,9 +1313,9 @@ var mapInfoBox_handle_path_fetch = function(id,vehicle) { |
1313 | 1313 | var ishabitat = id.length == 64 |
1314 | 1314 |
|
1315 | 1315 | if(ishabitat) { |
1316 | | - var url = 'http://habitat.habhub.org/habitat/' + id; |
| 1316 | + var url = '//habitat.habhub.org/habitat/' + id; |
1317 | 1317 | } else { |
1318 | | - var url = "http://spacenear.us/tracker/datanew.php?mode=single&format=json&position_id=" + id; |
| 1318 | + var url = "//spacenear.us/tracker/datanew.php?mode=single&format=json&position_id=" + id; |
1319 | 1319 | } |
1320 | 1320 |
|
1321 | 1321 | $.getJSON(url, function(data) { |
|
0 commit comments