From ae6a86bffe7fe9a719d0e7304022b20819edab0c Mon Sep 17 00:00:00 2001 From: Katerina Date: Thu, 16 Jul 2020 12:10:31 +1000 Subject: [PATCH] testing some idea --- public/trashure-client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/trashure-client.js b/public/trashure-client.js index e93028b..db67009 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');