Skip to content

Commit 8ce09a4

Browse files
remove http from all urls
1 parent b2b98aa commit 8ce09a4

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

js/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ var loadComplete = function(e) {
213213
var hysplit = {};
214214
var hysplit_data = {};
215215
var refresh_hysplit = function() {
216-
$.getJSON("http://spacenear.us/tracker/datanew.php?type=hysplit&format=json", function(data) {
216+
$.getJSON("//spacenear.us/tracker/datanew.php?type=hysplit&format=json", function(data) {
217217
var refresh = false;
218218

219219
for(var k in data) {
@@ -683,7 +683,7 @@ $(window).ready(function() {
683683
if(name == 'about' && !$('#motd').hasClass('inited')) {
684684
$('#motd').addClass('inited');
685685

686-
$.getJSON("http://spacenear.us/tracker/datanew.php?type=info", function(data) {
686+
$.getJSON("//spacenear.us/tracker/datanew.php?type=info", function(data) {
687687
if('html' in data) $('#motd').html(data.html.replace(/\\/g,''));
688688
});
689689

js/gmaps_extentions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ google.maps.DropDownControl = function(options) {
110110
this.header = document.createElement('span');
111111
this.header.innerHTML = (options.headerPrefix || "") + options.list[options.listDefault || 0];
112112
var arrow = document.createElement('img');
113-
arrow.src = "http://maps.gstatic.com/mapfiles/arrow-down.png";
113+
arrow.src = "//maps.gstatic.com/mapfiles/arrow-down.png";
114114
arrow.style.cssText = "-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-khtml-user-select: none; border: 0px none; padding: 0px; margin: -2px 0px 0px; position: absolute; right: 6px; top: 50%; width: 7px; height: 4px;";
115115

116116
this.div_head.appendChild(this.header);

js/tracker.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
var mission_id = 0;
22
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=";
66

77
var habitat_max = 400;
8-
var habitat_url = "http://habitat.habhub.org/habitat/";
8+
var habitat_url = "//habitat.habhub.org/habitat/";
99
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=";
1010

1111
var host_url = "";
@@ -966,7 +966,7 @@ function updateVehicleInfo(vcallsign, newPosition) {
966966
' style="top:'+(vehicle.image_src_size.height+55)+'px">Path</span>' +
967967
((vcallsign in hysplit) ? '<span class="vbutton hysplit '+((hysplit[vcallsign].getMap()) ? 'active' : '')+'"' +
968968
' 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) + '"' +
970970
' target="_blank" style="top:'+(vehicle.image_src_size.height+55+((vcallsign in hysplit) ? 42 : 21)+10)+'px">SSDV</a>' : '') +
971971
'<div class="left">' +
972972
'<dl>';
@@ -1313,9 +1313,9 @@ var mapInfoBox_handle_path_fetch = function(id,vehicle) {
13131313
var ishabitat = id.length == 64
13141314

13151315
if(ishabitat) {
1316-
var url = 'http://habitat.habhub.org/habitat/' + id;
1316+
var url = '//habitat.habhub.org/habitat/' + id;
13171317
} 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;
13191319
}
13201320

13211321
$.getJSON(url, function(data) {

0 commit comments

Comments
 (0)