From 17c24e6267cf30d96a9c3727e7b60ecd1b9f9893 Mon Sep 17 00:00:00 2001 From: Katerina Date: Wed, 15 Jul 2020 23:31:36 +1000 Subject: [PATCH] small bug fixed --- 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 9e57861..c96f141 100644 --- a/public/trashure-client.js +++ b/public/trashure-client.js @@ -151,7 +151,7 @@ function getMap() { var center = map.getCenter(); - const url = 'https://trashure-app.herokuapp.com/trashure_items'; + const url = 'https://trashure-app.herokuapp.com/api/trashure_items'; // const url = 'http://localhost:8080/api/trashure_items'; axios.get(url).then((res) => {