mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-04-17 15:41:45 +00:00
fix: update movie link construction to include base URL
This commit is contained in:
2
dist/protonMovies/meta.js
vendored
2
dist/protonMovies/meta.js
vendored
@@ -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 {
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user