Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Add CORS setting to config.json #242

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IamMrTeapot
Copy link

Background

  • Browsers do not allow "Access-Control-Allow-Origin": "*" when "Access-Control-Allow-Credentials": true is present in the HTTP response headers.

Changes

  • Added support for configuring allowed CORS domains via the config.json file.
    This allows fine-grained control over CORS settings while maintaining compatibility with credentialed requests.

Impact

  • No effect on streaming performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant