diff --git a/public/trashure-client.js b/public/trashure-client.js index db67009..e93028b 100644 --- a/public/trashure-client.js +++ b/public/trashure-client.js @@ -71,7 +71,7 @@ function showPosition(position, cb) { // Fetches information to be displayed const handlePinClick = function (e) { const url = `https://trashure-app.herokuapp.com/api/trashure_items/${e.target.metadata.id}`; - // const url = `http://localhost:8080/api/trashure_items/${e.target.metadata.id}`; + const url = `http://localhost:8080/api/trashure_items/${e.target.metadata.id}`; axios.get(url).then((res) => { res.data.forEach(function (data) { document.querySelector('.description-of-item').classList.remove('hidden'); diff --git a/views/edit-item.ejs b/views/edit-item.ejs index 895cb71..906e49e 100644 --- a/views/edit-item.ejs +++ b/views/edit-item.ejs @@ -10,11 +10,17 @@ /> - --> +