mirror of
https://github.com/movie-web/movie-web.git
synced 2025-01-23 18:31:13 +01: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) {
|
async function getEpisodes(slug) {
|
||||||
@ -116,4 +116,4 @@ async function getEpisodes(slug) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const xemovie = { findContent, getStreamUrl, getEpisodes }
|
const xemovie = { findContent, getStreamUrl, getEpisodes }
|
||||||
export default xemovie;
|
export default xemovie;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user