Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Enable CORS for public files? #125

Open
matt-cook opened this issue Feb 5, 2016 · 3 comments
Open

Enable CORS for public files? #125

matt-cook opened this issue Feb 5, 2016 · 3 comments

Comments

@matt-cook
Copy link

Follow up to #22: the solutions suggested there don't apply to files generated and served out of the /files directory.

Is there a method to specify CORS headers on files served from Pantheon, without using a proxy?

@matt-cook
Copy link
Author

Renamed to reflect this only applies to public files. On apache this would be solved by .htaccess. In this case is the recommended solution using private to process files via Drupal? or possibly using S3 and setting the headers on the bucket?

@matt-cook matt-cook changed the title Enable CORS for files Enable CORS for public files? Feb 5, 2016
@azovsky
Copy link

azovsky commented Apr 17, 2023

This problem still exists. Is there a solution?

Thank you!

@RobertAKARobin
Copy link

I'm working on a dreadful legacy codebase with this same problem. I wish there was a solution!

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

No branches or pull requests

3 participants