Skip to content

Commit

Permalink
adding hashtags when opening JOSM using env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
omranlm committed May 30, 2024
1 parent 9f005d3 commit 6d1218f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/components/Layout/Start/Prediction/Prediction.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,10 @@ const Prediction = () => {
loadurl.searchParams.set("top", bounds._northEast.lat);
loadurl.searchParams.set("left", bounds._southWest.lng);
loadurl.searchParams.set("right", bounds._northEast.lng);
loadurl.searchParams.set(
"changeset_hashtags",
process.env.REACT_APP_HASHTAG_PREFIX
);
const loadResponse = await fetch(loadurl);

if (!josmResponse.ok) {
Expand Down

0 comments on commit 6d1218f

Please sign in to comment.