Merge pull request #19 from gractwo/indeximages-endpoint-change

adapt endpoint to /index-images api changes
This commit is contained in:
AdamCala
2023-01-03 11:33:23 +01:00
committed by GitHub

View File

@@ -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();
})