diff --git a/components/IndexGallery/IndexGallery.tsx b/components/IndexGallery/IndexGallery.tsx index 0d643b2..dca9f3d 100644 --- a/components/IndexGallery/IndexGallery.tsx +++ b/components/IndexGallery/IndexGallery.tsx @@ -13,7 +13,7 @@ const IndexGallery = () => { }; const [data, setData] = useState([]); useEffect(() => { - fetch("https://gractwo.pl/api/v1/images") + fetch("https://gractwo.pl/api/v1/index-images") .then((res) => { return res.json(); })