Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/LiveDevelopment/BrowserScripts/RemoteFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -3114,9 +3114,9 @@ function RemoteFunctions(config = {}) {
// its required by the Unsplash API guidelines to track downloads for photographers
// this is just a tracking call, we don't need to wait for the response
if (image.download_location) {
fetch(image.download_location)
fetch(`https://images.phcode.dev/api/images/download?download_location=${encodeURIComponent(image.download_location)}`)
.catch(error => {
//
console.error('download tracking failed:', error);
});
}

Expand Down
Loading