Skip to content

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

@Spindel

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.

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