mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-19 11:02:05 +00:00
Update xemovie.js
This commit is contained in:
parent
d3324a90f7
commit
c9741ab054
1 changed files with 2 additions and 2 deletions
|
|
@ -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