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

Error: Docker build failed

This commit is contained in:
Cooper Ransom 2024-03-15 23:15:50 -04:00
parent db280095ae
commit f895ec294f

View file

@ -43,16 +43,12 @@ function isShowOrMovie(tmdbFullId: string): "series" | "movie" | "unknown" {
function directLinkToContent(tmdbFullId: string) { function directLinkToContent(tmdbFullId: string) {
if (isShowOrMovie(tmdbFullId) === "series") { if (isShowOrMovie(tmdbFullId) === "series") {
return `/media/tmdb-tv-${ return `/media/tmdb-tv-${tmdbFullId.split("-")[1]}#/media/tmdb-tv-${
tmdbFullId.split("-")[1]
}#/media/tmdb-tv-${
tmdbFullId.split("-")[1] tmdbFullId.split("-")[1]
}`; }`;
} }
if (isShowOrMovie(tmdbFullId) === "movie") { if (isShowOrMovie(tmdbFullId) === "movie") {
return `/media/tmdb-movie-${ return `/media/tmdb-movie-${tmdbFullId.split("-")[1]}#/media/tmdb-movie-${
tmdbFullId.split("-")[1]
}#/media/tmdb-movie-${
tmdbFullId.split("-")[1] tmdbFullId.split("-")[1]
}`; }`;
} }