added url, apikey to lockscreen

This commit is contained in:
2025-05-03 15:12:58 +02:00
parent dbcdce5296
commit 2eb80e0da9
4 changed files with 9 additions and 3 deletions

View File

@ -26,7 +26,8 @@ function handleImage() {
orientation: 'landscape',
height: window.screen.availHeight,
width: window.screen.availWidth,
cropCenteringMode: 'sm'
cropCenteringMode: 'sm',
apikey: apiKey
};
const apiUrl = `https://photo.thegreydiamond.de/api/images/random.php?${new URLSearchParams(apiParams).toString()}`;