From d6f9eef362ecafe7fc860c1aade2e4d2d4325d42 Mon Sep 17 00:00:00 2001 From: WardPearce Date: Thu, 12 Feb 2026 00:16:56 +1300 Subject: [PATCH] Fixes to channel pfp not loading when using yt backend. --- materialious/src/lib/images.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/materialious/src/lib/images.ts b/materialious/src/lib/images.ts index 5b9cd3b6..a6607ff5 100644 --- a/materialious/src/lib/images.ts +++ b/materialious/src/lib/images.ts @@ -53,10 +53,10 @@ export function getBestThumbnail( } export function proxyGoogleImage(source: string): string { - if (isYTBackend()) return source; - if (source.startsWith('//')) source = `https:${source}`; + if (isYTBackend()) return source; + let path: string | undefined; try { path = new URL(source).pathname;