Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

New EO-NET endpoints

Mike McGann915fe4dbf5cc
diff --git a/web/js/wv.events.js b/web/js/wv.events.js
index 50f3d05df..e1f9ddcaa 100644
--- a/web/js/wv.events.js
+++ b/web/js/wv.events.js
@@ -322,7 +322,7 @@ wv.events = wv.events || function(models, ui) {
};
var queryTypes = function() {
- var url = "http://eonet.sci.gsfc.nasa.gov/api/v1/events/types";
+ var url = "http://eonet.sci.gsfc.nasa.gov/api/v1/types";
console.log("sending query", url);
$.getJSON(url, function(data) {
self.types = data.item;
@@ -346,7 +346,7 @@ wv.events = wv.events || function(models, ui) {
};
var querySources = function() {
- var url = "http://eonet.sci.gsfc.nasa.gov/api/v1/events/sources";
+ var url = "http://eonet.sci.gsfc.nasa.gov/api/v1/sources";
console.log("sending query", url);
$.getJSON(url, function(data) {
self.sources = data.item;