From 88e054ff558c85507905b34e1cd1e36eb9624d08 Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Sun, 30 Sep 2018 21:10:03 +0100 Subject: [PATCH] Update buiilding locate URL --- app/src/frontend/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/frontend/map.js b/app/src/frontend/map.js index 43eff23b..c81f618b 100644 --- a/app/src/frontend/map.js +++ b/app/src/frontend/map.js @@ -28,7 +28,7 @@ class ColouringMap extends Component { var lat = e.latlng.lat var lng = e.latlng.lng fetch( - '/buildings.json?lat='+lat+'&lng='+lng + '/buildings/locate?lat='+lat+'&lng='+lng ).then( (res) => res.json() ).then(function(data){