Skip to content

Commit

Permalink
fix: update imageproxy path
Browse files Browse the repository at this point in the history
  • Loading branch information
gauthier-th committed Oct 17, 2024
1 parent 386f563 commit 7a7330f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Common/CachedImage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7a7330f

Please sign in to comment.