Skip to content

Commit

Permalink
fix(proxy): forgot preview image proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksasiriski committed Sep 2, 2024
1 parent 1f94c3f commit a03a689
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib/components/results/images/preview.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@
<a href={result.url}>
<img
id="link-{result.rank}"
src={proxyImageLink(result.thumbnail_url, result.thumbnail_url_hash)}
src={proxyImageLink(
result.thumbnail_url,
result.thumbnail_url_hash,
result.thumbnail_url_hash_timestamp
)}
alt={result.title}
class="max-h-[40dvh] w-full object-contain bg-neutral-100 dark:bg-neutral-800 rounded-lg"
/>
Expand Down

0 comments on commit a03a689

Please sign in to comment.