Skip to content

Add CORS support to Dovetail CDN#882

Merged
farski merged 1 commit intomainfrom
dt-cdn-cors
Mar 11, 2026
Merged

Add CORS support to Dovetail CDN#882
farski merged 1 commit intomainfrom
dt-cdn-cors

Conversation

@farski
Copy link
Member

@farski farski commented Mar 11, 2026

No description provided.

@farski farski requested review from cavis and kookster March 11, 2026 17:41
Copy link
Member

@kookster kookster left a comment

Choose a reason for hiding this comment

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

I had to look some stuff up, but yeah, checks out, looks good!

Headers:
- Origin
- Access-Control-Request-Headers
- Access-Control-Request-Method
Copy link
Member

Choose a reason for hiding this comment

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

Do we also need access-control-allow-origin?

Copy link
Member

Choose a reason for hiding this comment

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

oh wait, this is for the caching, not what headers to support, I see this is what AWS recommends for caching OPTIONS requests for an s3 bucket:
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html#header-caching-web-cors

@farski farski merged commit e6864c4 into main Mar 11, 2026
4 checks passed
@farski farski deleted the dt-cdn-cors branch March 11, 2026 20:43
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.

2 participants