From 4777886144bf35c1c0a2f08b0ba043ab76cc8647 Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Fri, 15 Mar 2024 22:17:42 -0400 Subject: [PATCH] Fix small issue with flix page --- src/pages/TopFlix.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/TopFlix.tsx b/src/pages/TopFlix.tsx index c6aaeebe..d10cecfa 100644 --- a/src/pages/TopFlix.tsx +++ b/src/pages/TopFlix.tsx @@ -44,10 +44,10 @@ function isShowOrMovie(tmdbFullId: string): "show" | "movie" | "unknown" { function directLinkToContent(tmdbFullId: string) { const currentDomain = window.location.href.split("#")[0]; if (isShowOrMovie(tmdbFullId) === "show") { - return `${currentDomain}media/tmdb-movie-${tmdbFullId.split("-")[1]}`; + return `${currentDomain}/media/tmdb-movie-${tmdbFullId.split("-")[1]}`; } if (isShowOrMovie(tmdbFullId) === "movie") { - return `${currentDomain}media/tmdb-tv-${tmdbFullId.split("-")[1]}`; + return `${currentDomain}/media/tmdb-tv-${tmdbFullId.split("-")[1]}`; } return null; }