From c9741ab05435fbcc97b62921507208b3dbb99e77 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Sun, 20 Feb 2022 18:19:40 +0000 Subject: [PATCH] Update xemovie.js --- src/lib/scraper/xemovie.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/scraper/xemovie.js b/src/lib/scraper/xemovie.js index 6eafcbf3..c95d9a6e 100644 --- a/src/lib/scraper/xemovie.js +++ b/src/lib/scraper/xemovie.js @@ -108,7 +108,7 @@ async function getStreamUrl(slug, type, season, episode) { } } } - return { url: mediaUrl, subtitles: subtitles } + return { url: `${process.env.REACT_APP_CORS_PROXY_URL}${mediaUrl}`, subtitles: subtitles } } async function getEpisodes(slug) { @@ -116,4 +116,4 @@ async function getEpisodes(slug) { } const xemovie = { findContent, getStreamUrl, getEpisodes } -export default xemovie; \ No newline at end of file +export default xemovie;