This repository was archived by the owner on Jan 31, 2026. It is now read-only.
Add ALLOWED_ORIGINS to env and fix m3u8-proxy server#57
Merged
nischaldoescode merged 2 commits intocinepro-org:mainfrom Sep 30, 2025
Merged
Add ALLOWED_ORIGINS to env and fix m3u8-proxy server#57nischaldoescode merged 2 commits intocinepro-org:mainfrom
nischaldoescode merged 2 commits intocinepro-org:mainfrom
Conversation
added 2 commits
October 1, 2025 01:07
- Added caching mechanism for segments with a maximum size and expiry time. - Implemented prefetching of segments to improve performance. - Created proxy endpoints for M3U8 and TS segments, handling various media types. - Enhanced CORS middleware for better cross-origin requests handling. - Added error handling and logging for proxy requests. - Extracted original URLs from proxy requests to ensure correct fetching. - Processed API responses to route media files through the proxy system.
Collaborator
|
Is this on main ?. I will reject the review if it is... |
nischaldoescode
suggested changes
Sep 30, 2025
Collaborator
nischaldoescode
left a comment
There was a problem hiding this comment.
PR only accepted to dev branch not for main.
Collaborator
nischaldoescode
left a comment
There was a problem hiding this comment.
PR overwritten.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the ALLOWED_ORIGINS setting to the environment variables to control which domains can access the server. It also fixes bugs in the m3u8-proxy server to improve its performance and reliability when handling streaming requests.