set new gallery url

This commit is contained in:
grey committed 2025-05-03 15:07:08 +02:00
1 parent 7482c329ed
commit dbcdce5296
1 file changed
+1 -1
+1 -1
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())