From 5e7df79ebd505f1f8f0575189ba4e7f5a3a579b9 Mon Sep 17 00:00:00 2001 From: himanshu8443 Date: Sun, 22 Jun 2025 20:11:19 +0530 Subject: [PATCH] fix: update movie link construction to include base URL --- dist/protonMovies/meta.js | 2 +- providers/protonMovies/meta.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/protonMovies/meta.js b/dist/protonMovies/meta.js index 96eb7f0..1873f1c 100644 --- a/dist/protonMovies/meta.js +++ b/dist/protonMovies/meta.js @@ -58,7 +58,7 @@ const getMeta = function (_a) { const links = []; if (type === "movie") { const directLinks = []; - directLinks.push({ title: "Movie", link: link }); + directLinks.push({ title: "Movie", link: baseUrl + link }); links.push({ title: "Movie", directLinks: directLinks }); } else { diff --git a/providers/protonMovies/meta.ts b/providers/protonMovies/meta.ts index c9d1d05..fb62e32 100644 --- a/providers/protonMovies/meta.ts +++ b/providers/protonMovies/meta.ts @@ -68,7 +68,7 @@ export const getMeta = async function ({ if (type === "movie") { const directLinks: EpisodeLink[] = []; - directLinks.push({ title: "Movie", link: link }); + directLinks.push({ title: "Movie", link: baseUrl + link }); links.push({ title: "Movie", directLinks: directLinks }); } else { $("#episodes")