Merge pull request #19 from gractwo/indeximages-endpoint-change
adapt endpoint to /index-images api changes
This commit is contained in:
@@ -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();
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user