coreos / fedora-coreos-cincinnati

Backend for Fedora CoreOS auto-updates (Cincinnati server)
Other
12 stars 16 forks source link

graph: add CORS configuration #17

Closed lucab closed 4 years ago

lucab commented 4 years ago

In order to let JS apps fetch and display the content of graph, we should wire in the relevant CORS middleware for the graph endpoint.

The initial target is mainly allowing pages hosted on builds.coreos.fedoraproject.org to work with the graph. Later on this should be covered with proper configuration knobs.