Skip to content

Add a permissive CORS header on /root.crt #52

Description

@Spindel

We should be permissive about CORS for our GET-able resources (root.crt et-al)

Suggest that we add Access-Control-Allow-Origin: * to root.crt view.

For details, see:
https://fetch.spec.whatwg.org/#http-cors-protocol

Further use could be done by permitting CORS GET requests on downloading fresh certificates, and maybe POST, but that should be a separate issue.

Originally @niligulmohar comment from the Grafana plugin.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions