mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-29 18:16:06 +00:00
Update xemovie.js
This commit is contained in:
parent
d3324a90f7
commit
c9741ab054
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue