aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components
diff options
context:
space:
mode:
authorNidboj132 <lol2s@vp.plm>2023-07-12 18:13:27 +0200
committerNidboj132 <lol2s@vp.plm>2023-07-12 18:13:27 +0200
commit13e4c4b3905f9f55e49288e17f39e65dc7b09f11 (patch)
tree00227fd0eba0beeca2b16860ceb22f58b6505fe6 /frontend/src/components
parentMerge branch 'main' of https://github.com/pektezol/LeastPortals (diff)
downloadlphub-13e4c4b3905f9f55e49288e17f39e65dc7b09f11.tar.gz
lphub-13e4c4b3905f9f55e49288e17f39e65dc7b09f11.tar.bz2
lphub-13e4c4b3905f9f55e49288e17f39e65dc7b09f11.zip
quick link fix
Former-commit-id: 4a579d7668f72cc05b53ba8b655e427d3ca105dc
Diffstat (limited to 'frontend/src/components')
-rw-r--r--frontend/src/components/pages/summary.js2
1 files changed, 1 insertions, 1 deletions
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
18 //fetching data 18 //fetching data
19 const [data, setData] = React.useState(null); 19 const [data, setData] = React.useState(null);
20 React.useEffect(() => { 20 React.useEffect(() => {
21 fetch(`/api/v1/maps/${location.pathname.split('/')[2]}/summary`) 21 fetch(`https://lp.ardapektezol.com/api/v1/maps/${location.pathname.split('/')[2]}/summary`)
22 .then(r => r.json()) 22 .then(r => r.json())
23 .then(d => { 23 .then(d => {
24 if(Object.keys(fakedata).length!==0){setData(fakedata)} 24 if(Object.keys(fakedata).length!==0){setData(fakedata)}