Fixes to channel pfp not loading when using yt backend.

This commit is contained in:
WardPearce
2026-02-12 00:16:56 +13:00
parent 1bb26984c1
commit d6f9eef362
+2 -2
View File
@@ -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;