Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

switched to https for events api

Taylor Gunnoe5cce0d45fb60
diff --git a/web/js/wv.events.js b/web/js/wv.events.js
index 8c716f434..0b6daa5ee 100644
--- a/web/js/wv.events.js
+++ b/web/js/wv.events.js
@@ -454,7 +454,7 @@ wv.events = wv.events || function(models, ui) {
};
var queryEvents = function() {
- var url = "http://eonet.sci.gsfc.nasa.gov/api/v1/events";
+ var url = "https://eonet.sci.gsfc.nasa.gov/api/v1/events";
console.log("sending query", url);
$.getJSON(url, function(data) {
self.data = data.item;
@@ -464,7 +464,7 @@ wv.events = wv.events || function(models, ui) {
};
var queryTypes = function() {
- var url = "http://eonet.sci.gsfc.nasa.gov/api/v1/types";
+ var url = "https://eonet.sci.gsfc.nasa.gov/api/v1/types";
console.log("sending query", url);
$.getJSON(url, function(data) {
self.types = data.item;
@@ -474,7 +474,7 @@ wv.events = wv.events || function(models, ui) {
};
var querySources = function() {
- var url = "http://eonet.sci.gsfc.nasa.gov/api/v1/sources";
+ var url = "https://eonet.sci.gsfc.nasa.gov/api/v1/sources";
console.log("sending query", url);
$.getJSON(url, function(data) {
self.sources = data.item;