From 13e4c4b3905f9f55e49288e17f39e65dc7b09f11 Mon Sep 17 00:00:00 2001 From: Nidboj132 Date: Wed, 12 Jul 2023 18:13:27 +0200 Subject: quick link fix Former-commit-id: 4a579d7668f72cc05b53ba8b655e427d3ca105dc --- frontend/src/components/pages/summary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/src') diff --git a/frontend/src/components/pages/summary.js b/frontend/src/components/pages/summary.js index c628dd4..2665d66 100644 --- a/frontend/src/components/pages/summary.js +++ b/frontend/src/components/pages/summary.js @@ -18,7 +18,7 @@ const fakedata={} //for debug //fetching data const [data, setData] = React.useState(null); React.useEffect(() => { - fetch(`/api/v1/maps/${location.pathname.split('/')[2]}/summary`) + fetch(`https://lp.ardapektezol.com/api/v1/maps/${location.pathname.split('/')[2]}/summary`) .then(r => r.json()) .then(d => { if(Object.keys(fakedata).length!==0){setData(fakedata)} -- cgit v1.2.3