From d4ec6461aea0002820953d48fc8f60037f959a67 Mon Sep 17 00:00:00 2001 From: d3netxer Date: Wed, 2 Nov 2022 05:55:12 -0400 Subject: [PATCH] for 2022 --- _includes/map.html | 2 +- events/index.html | 2 +- index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/map.html b/_includes/map.html index 694a0ca..3e60302 100644 --- a/_includes/map.html +++ b/_includes/map.html @@ -19,7 +19,7 @@ }).addTo(map); //var featureLayer = L.mapbox.featureLayer().loadURL('{{ site.baseurl }}/events.geojson',{ -var featureLayer = L.mapbox.featureLayer().loadURL('https://nl711prwcg.execute-api.us-east-1.amazonaws.com/dev/events_geojson',{ style: L.mapbox.simplestyle.style }) +var featureLayer = L.mapbox.featureLayer().loadURL('https://o5sxlalqle.execute-api.us-east-1.amazonaws.com/dev/events_geojson',{ style: L.mapbox.simplestyle.style }) //var featureLayer = L.geoJson(geojson, { style: L.mapbox.simplestyle.style }).addTo(map); featureLayer.addTo(map); diff --git a/events/index.html b/events/index.html index b742ddd..8b5bcd8 100644 --- a/events/index.html +++ b/events/index.html @@ -41,7 +41,7 @@

Events

// use fetch to retrieve it, and report any errors that occur in the fetch operation // once the products have been successfully loaded and formatted as a JSON object // using response.json(), run the initialize() function -fetch('https://nl711prwcg.execute-api.us-east-1.amazonaws.com/dev/events').then(function(response) { +fetch('https://o5sxlalqle.execute-api.us-east-1.amazonaws.com/dev/events').then(function(response) { if (response.ok) { response.json().then(function(json) { console.log('response is ok'); diff --git a/index.html b/index.html index 9962fba..2bfdc66 100644 --- a/index.html +++ b/index.html @@ -159,7 +159,7 @@

{{ post.title }}

// use fetch to retrieve it, and report any errors that occur in the fetch operation // once the products have been successfully loaded and formatted as a JSON object // using response.json(), run the initialize() function -fetch('https://nl711prwcg.execute-api.us-east-1.amazonaws.com/dev/events').then(function(response) { +fetch('https://o5sxlalqle.execute-api.us-east-1.amazonaws.com/dev/events').then(function(response) { if (response.ok) { response.json().then(function(json) { console.log('response is ok');