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:
parent
db280095ae
commit
f895ec294f
1 changed files with 2 additions and 6 deletions
|
@ -43,16 +43,12 @@ function isShowOrMovie(tmdbFullId: string): "series" | "movie" | "unknown" {
|
|||
|
||||
function directLinkToContent(tmdbFullId: string) {
|
||||
if (isShowOrMovie(tmdbFullId) === "series") {
|
||||
return `/media/tmdb-tv-${
|
||||
tmdbFullId.split("-")[1]
|
||||
}#/media/tmdb-tv-${
|
||||
return `/media/tmdb-tv-${tmdbFullId.split("-")[1]}#/media/tmdb-tv-${
|
||||
tmdbFullId.split("-")[1]
|
||||
}`;
|
||||
}
|
||||
if (isShowOrMovie(tmdbFullId) === "movie") {
|
||||
return `/media/tmdb-movie-${
|
||||
tmdbFullId.split("-")[1]
|
||||
}#/media/tmdb-movie-${
|
||||
return `/media/tmdb-movie-${tmdbFullId.split("-")[1]}#/media/tmdb-movie-${
|
||||
tmdbFullId.split("-")[1]
|
||||
}`;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue