-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add enableCORS
option to IServerOptions
to enable/disable CORS
#34
Comments
enableCORS
option to IServerOptions
to enable/disable CORS
just a thought: in DITA R2D2BC web reader you can disable "credentials" in the http requester / fetch client options. Typically that is what forces the removal of asterisk / catch-all CORS allow origin. But perhaps you in fact need "credentials" so indeed you would need to modify the streamer config. |
I've made and tested these changes to
If you agree with these changes, I already have a pull request that could be merged. If the pull request is approved, when do you plan to release the new version? because I really need this change. |
I need this feature to deploy the streamer as a service behind an API gateway that already checks and sets CORS headers.
Without this feature, I'm not able to use the server APIs because there is more than one origin in the
Access-Control-Allow-Origin
and this is not allowed.The text was updated successfully, but these errors were encountered: