I am using the fly [[statics]] feature and it is working great to return a static piece I need for my application. However, I would like to return the items with CORS headers so that they can be loaded into the browser on a different domain (like a css file). Is there any option or ability to return headers along with static assets?
There is http_service.http_options.response.headers
option that allows to do this. Keep in mind that the headers are gonna be added to all responses, not only statics.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.