Skip to content
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
bobokaha:main
Sep 30, 2025
Merged

Add ALLOWED_ORIGINS to env and fix m3u8-proxy server#57
nischaldoescode merged 2 commits intocinepro-org:mainfrom
bobokaha:main

Conversation

@bobokaha
Copy link
Contributor

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.

Kneegrow 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.
@bobokaha bobokaha requested a review from An0n-00 as a code owner September 30, 2025 17:20
@nischaldoescode
Copy link
Collaborator

Is this on main ?. I will reject the review if it is...

Copy link
Collaborator

@nischaldoescode nischaldoescode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR only accepted to dev branch not for main.

@nischaldoescode nischaldoescode self-requested a review September 30, 2025 18:24
@nischaldoescode nischaldoescode merged commit f138e74 into cinepro-org:main Sep 30, 2025
1 check failed
@An0n-00 An0n-00 assigned bobokaha and unassigned bobokaha Sep 30, 2025
Copy link
Collaborator

@nischaldoescode nischaldoescode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR overwritten.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants