Skip to content

Better documentation for expected CORS server configuration #1018

Closed
@hochhaus

Description

When using shaka with CORS, the expected server configuration is not immediately obvious. Could a suggested configuration be added to the README?

For example:

Access-Control-Allow-Origin: https://example.com   # or * for all sites
Access-Control-Allow-Headers: Range                # is IMS or any other header necessary?
Access-Control-Max-Age: 600                        # cache preflight requests for 10 mins
Access-Control-Allow-Credentials: true             # iff using credentials

I'm not confident of the best configuration or I would send a pull request.

Metadata

Assignees

Labels

status: archivedArchived and locked; will not be updatedtype: docsImprovements or fixes to documentation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions