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

proxy.golang.org: let storage.googleapis.com/proxy-golang-org-prod return responses with 'Access-Control-Allow-Origin: *' #45248

Open
hajimehoshi opened this issue Mar 26, 2021 · 3 comments
Assignees
Labels
FeatureRequest NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. proxy.golang.org
Milestone

Comments

@hajimehoshi
Copy link
Member

hajimehoshi commented Mar 26, 2021

Apparently https://proxy.golang.org/ now returns responses with Access-Control-Allow-Origin: *, which is awesome. However, the storage server (https://storage.googleapis.com/proxy-golang-org-prod/...) for zip files does not.

I'd be happy if the storage server could return responses with Access-Control-Allow-Origin: *, so that we could create our own playground where Go tool chain works on browsers completely. Actually, I have succeeded to create a Go toolchain compiled in Wasm (https://github.com/hajimehoshi/asobiba, https://storage.googleapis.com/soko-dot-hajimehoshi-dot-org/asobiba/index.html) and now I'm now using a third party's GOPROXY instead.

@seankhliao seankhliao changed the title cmd/go: request: let storage.googleapis.com/proxy-golang-org-prod return responses with 'Access-Control-Allow-Origin: *' proxy.golang.org: let storage.googleapis.com/proxy-golang-org-prod return responses with 'Access-Control-Allow-Origin: *' Mar 26, 2021
@heschi
Copy link
Contributor

heschi commented Mar 30, 2021

@katiehockman

@cagedmantis cagedmantis added this to the Backlog milestone Mar 31, 2021
@cagedmantis cagedmantis added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Mar 31, 2021
@katiehockman
Copy link
Contributor

@hajimehoshi we'll take a look at this. Thanks for filing the issue.

@katiehockman katiehockman self-assigned this Apr 6, 2021
@hajimehoshi
Copy link
Member Author

Friendly ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FeatureRequest NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. proxy.golang.org
Projects
None yet
Development

No branches or pull requests

6 participants