Skip to content

CORS Error when using ?blueprint-url reference to github.com #2148

@bph

Description

@bph

Although using GitHub.com URLs for file references inside blueprints works, well, when trying to reference the github.com URL in a queryparam of playground throws and CORS error

Image

Example:

❌ Does not work: https://playground.wordpress.net/?blueprint-url=https://github.com/wptrainingteam/hellodashboard/blob/main/blueprint.json

✅ Works: https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/wptrainingteam/hellodashboard/main/blueprint.json

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions