Update buiilding locate URL

This commit is contained in:
Tom Russell 2018-09-30 21:10:03 +01:00
parent 148187d17e
commit 88e054ff55

View File

@ -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){