Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mo4islona opened this issue Oct 20, 2019 · 2 comments
Open

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

mo4islona opened this issue Oct 20, 2019 · 2 comments
Labels
Milestone

Comments

@mo4islona
Copy link

@mo4islona mo4islona commented Oct 20, 2019

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

@gopherbot

This comment has been minimized.

Copy link

@gopherbot gopherbot commented Oct 20, 2019

Change https://golang.org/cl/193798 mentions this issue: playground: add CORS headers to fmt/edit route

@dmitshur dmitshur changed the title playground: CORS in fmt/edit routes x/playground: CORS in fmt/edit routes Oct 21, 2019
@gopherbot gopherbot added this to the Unreleased milestone Oct 21, 2019
@toothrot toothrot added the NeedsFix label Dec 3, 2019
@mo4islona

This comment has been minimized.

Copy link
Author

@mo4islona mo4islona commented Dec 26, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.