From 5c60c06e9709737f6e7a3352f124e11447718de9 Mon Sep 17 00:00:00 2001 From: danieldegroot2 <67521919+danieldegroot2@users.noreply.github.com> Date: Sun, 22 Oct 2023 14:03:15 +0200 Subject: [PATCH] Switch to api.openstreetmap.org API host --- frontend/src/components/Shared/OSMUser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/Shared/OSMUser.js b/frontend/src/components/Shared/OSMUser.js index f10cc3d2..6bed41a9 100644 --- a/frontend/src/components/Shared/OSMUser.js +++ b/frontend/src/components/Shared/OSMUser.js @@ -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 } ); @@ -55,7 +55,7 @@ const OSMUser = (props) => { {" "} {props.uid}