Skip to content

x/playground: CORS in fmt/edit routes  #35019

@mo4islona

Description

@mo4islona

Playground snippets are not working properly on third-party sites.
fmt/edit routes are blocking by CORS.

I am working on new concept of snippets that can be easily integrated in any React app or even standalone. Take a look on https://mo4islona.github.io/material-go-playground/ it has a lot of examples. But some function are not working because of CORS policy.

I have a PR that fixes routes: https://go-review.googlesource.com/c/playground/+/193798

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions