mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 17:26:26 +01:00
🐛 Fix media request not using external address
This commit is contained in:
@@ -47,7 +47,7 @@ const Get = async (request: NextApiRequest, response: NextApiResponse) => {
|
|||||||
status: item.status,
|
status: item.status,
|
||||||
backdropPath: `https://image.tmdb.org/t/p/original/${genericItem.backdropPath}`,
|
backdropPath: `https://image.tmdb.org/t/p/original/${genericItem.backdropPath}`,
|
||||||
posterPath: `https://image.tmdb.org/t/p/w600_and_h900_bestv2/${genericItem.posterPath}`,
|
posterPath: `https://image.tmdb.org/t/p/w600_and_h900_bestv2/${genericItem.posterPath}`,
|
||||||
href: `${app.url}/movie/${item.media.tmdbId}`,
|
href: `${app.behaviour.externalUrl}/movie/${item.media.tmdbId}`,
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user