Skip to content

Commit

Permalink
'building' as default tag
Browse files Browse the repository at this point in the history
  • Loading branch information
emi420 committed Dec 14, 2023
1 parent 8ce1499 commit 35a4490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/views/projectLiveMonitoring.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import centroid from '@turf/centroid';
import "./projectLiveMonitoring.css";

const config = {
API_URL: "https://underpass.hotosm.org:8000",
API_URL: "http://localhost:8000",
MAPBOX_TOKEN: "pk.eyJ1IjoiZW1pNDIwIiwiYSI6ImNqZW9leG5pZTAxYWwyeG83bHU0eHM0ZXcifQ.YWmk4Rp8FBGCLmpx_huJYw"
};

Expand Down Expand Up @@ -71,7 +71,7 @@ export function ProjectLiveMonitoring() {
bbox[3].join(" "),
bbox[4].join(" "),
].join(","));
setTags(mappingTypesTags[project.mappingTypes]);
setTags(mappingTypesTags[project.mappingTypes] || "building");
}
}, [project]);

Expand Down

0 comments on commit 35a4490

Please sign in to comment.