diff --git a/materialious/src/lib/ChannelThumbnail.svelte b/materialious/src/lib/ChannelThumbnail.svelte index 88828ab3..28b88f72 100644 --- a/materialious/src/lib/ChannelThumbnail.svelte +++ b/materialious/src/lib/ChannelThumbnail.svelte @@ -2,7 +2,7 @@ import { onMount } from 'svelte'; import { _ } from 'svelte-i18n'; import type { Channel } from './Api/model'; - import { cleanNumber, getBestThumbnail, truncate } from './misc'; + import { cleanNumber, getBestThumbnail, proxyGoogleImage, truncate } from './misc'; export let channel: Channel; @@ -12,7 +12,7 @@ onMount(() => { img = new Image(); - img.src = getBestThumbnail(channel.authorThumbnails) || ''; + img.src = proxyGoogleImage(getBestThumbnail(channel.authorThumbnails)) || ''; img.onload = () => { loading = false; diff --git a/materialious/src/lib/Comment.svelte b/materialious/src/lib/Comment.svelte index e64a312e..a79a9724 100644 --- a/materialious/src/lib/Comment.svelte +++ b/materialious/src/lib/Comment.svelte @@ -2,7 +2,7 @@ import { _ } from 'svelte-i18n'; import { getComments } from './Api'; import { type Comment, type Comments } from './Api/model'; - import { getBestThumbnail, numberWithCommas } from './misc'; + import { getBestThumbnail, numberWithCommas, proxyGoogleImage } from './misc'; export let comment: Comment; export let videoId: string; @@ -33,7 +33,7 @@