Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobzhao authored Nov 16, 2023
1 parent 9b115d6 commit f7696b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ <h4>Bo Zhao | University of Washington </h4>

// Fetch existing records when the window is loaded
window.addEventListener("load", async function () {
let response = await fetch('https://participatory-mapping-70cdde6a8df5.herokuapp.com/api/get-record', {
let response = await fetch('https://geog328-1d351b8a161c.herokuapp.com/api/get-record', {
method: 'GET'
});

Expand Down Expand Up @@ -203,7 +203,7 @@ <h4>Bo Zhao | University of Washington </h4>

try {
// Send the POST request to add the new record
await fetch('https://participatory-mapping-70cdde6a8df5.herokuapp.com/api/add-record', settings);
await fetch('https://geog328-1d351b8a161c.herokuapp.com/api/add-record', settings);
} catch (err) {
// Handle any errors that occur during the request
console.error(err);
Expand Down

0 comments on commit f7696b2

Please sign in to comment.