fix: update movie link construction to include base URL

This commit is contained in:
himanshu8443
2025-06-22 20:11:19 +05:30
parent 37260f54ad
commit 5e7df79ebd
2 changed files with 2 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ const getMeta = function (_a) {
const links = []; const links = [];
if (type === "movie") { if (type === "movie") {
const directLinks = []; const directLinks = [];
directLinks.push({ title: "Movie", link: link }); directLinks.push({ title: "Movie", link: baseUrl + link });
links.push({ title: "Movie", directLinks: directLinks }); links.push({ title: "Movie", directLinks: directLinks });
} }
else { else {

View File

@@ -68,7 +68,7 @@ export const getMeta = async function ({
if (type === "movie") { if (type === "movie") {
const directLinks: EpisodeLink[] = []; const directLinks: EpisodeLink[] = [];
directLinks.push({ title: "Movie", link: link }); directLinks.push({ title: "Movie", link: baseUrl + link });
links.push({ title: "Movie", directLinks: directLinks }); links.push({ title: "Movie", directLinks: directLinks });
} else { } else {
$("#episodes") $("#episodes")