Skip to content

Commit

Permalink
Merge pull request hotosm#175 from danieldegroot2/api-url
Browse files Browse the repository at this point in the history
Switch to api.openstreetmap.org API host
  • Loading branch information
kshitijrajsharma authored Oct 25, 2023
2 parents e89c4fb + 28fd69f commit 9b724e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Shared/OSMUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const OSMUser = (props) => {
// console.log("get OSM user data ")

const res = await axios.get(
"https://www.openstreetmap.org/api/0.6/user/" + props.uid,
"https://api.openstreetmap.org/api/0.6/user/" + props.uid,
{ headers }
);

Expand Down Expand Up @@ -55,7 +55,7 @@ const OSMUser = (props) => {
<a
target={"_blank"}
rel={"noreferrer"}
href={"https://www.openstreetmap.org/api/0.6/user/" + props.uid}
href={"https://api.openstreetmap.org/api/0.6/user/" + props.uid}
>
{" "}
{props.uid}
Expand Down

0 comments on commit 9b724e1

Please sign in to comment.