1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

Improve poster url quality

This commit is contained in:
mrjvs 2023-12-24 16:22:09 +01:00
parent 2e0a5910ca
commit 12f30bc42f

View file

@ -215,7 +215,7 @@ export function getMediaDetails<
}
export function getMediaPoster(posterPath: string | null): string | undefined {
if (posterPath) return `https://image.tmdb.org/t/p/w185/${posterPath}`;
if (posterPath) return `https://image.tmdb.org/t/p/w342/${posterPath}`;
}
export async function getEpisodes(