adapt endpoint to api changes

This commit is contained in:
2022-12-28 18:25:24 +01:00
parent 8cdc0b4a7e
commit 28bc76c160

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