set new gallery url
This commit is contained in:
parent
7482c329ed
commit
dbcdce5296
@ -29,7 +29,7 @@ function handleImage() {
|
|||||||
cropCenteringMode: 'sm'
|
cropCenteringMode: 'sm'
|
||||||
};
|
};
|
||||||
|
|
||||||
const apiUrl = `https://staging.thegreydiamond.de/projects/photoPortfolio/api/getRand.php?${new URLSearchParams(apiParams).toString()}`;
|
const apiUrl = `https://photo.thegreydiamond.de/api/images/random.php?${new URLSearchParams(apiParams).toString()}`;
|
||||||
|
|
||||||
fetch(apiUrl)
|
fetch(apiUrl)
|
||||||
.then((response) => response.json())
|
.then((response) => response.json())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user