set new gallery url

This commit is contained in:
Sören 2025-05-03 15:07:08 +02:00
parent 7482c329ed
commit dbcdce5296

View File

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