Update xemovie.js

This commit is contained in:
James Hawkins 2022-02-20 18:19:40 +00:00 committed by GitHub
parent d3324a90f7
commit c9741ab054
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
export default xemovie;