From 7a7330f03831a899908ac35151dd7d48b5ac8186 Mon Sep 17 00:00:00 2001 From: Gauthier Date: Thu, 17 Oct 2024 12:15:50 +0200 Subject: [PATCH] fix: update imageproxy path --- src/components/Common/CachedImage/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Common/CachedImage/index.tsx b/src/components/Common/CachedImage/index.tsx index 303a7ea25..b01a47bb4 100644 --- a/src/components/Common/CachedImage/index.tsx +++ b/src/components/Common/CachedImage/index.tsx @@ -22,7 +22,7 @@ const CachedImage = ({ src, type, ...props }: CachedImageProps) => { // tmdb stuff imageUrl = currentSettings.cacheImages && !src.startsWith('/') - ? src.replace(/^https:\/\/image\.tmdb\.org\//, 'imageproxy/') + ? src.replace(/^https:\/\/image\.tmdb\.org\//, '/imageproxy/') : src; } else if (type === 'avatar') { // jellyfin avatar (in any)