mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-26 17:51:57 +01:00
Improve poster url quality
This commit is contained in:
parent
2e0a5910ca
commit
12f30bc42f
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user