mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-04-18 08:01:43 +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 = [];
|
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 {
|
||||||
|
|||||||
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user