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;