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/pkgsite: add a way to opt in to https://beta.pkg.go.dev/ #42260

Open
myitcv opened this issue Oct 28, 2020 · 1 comment
Open

x/pkgsite: add a way to opt in to https://beta.pkg.go.dev/ #42260

myitcv opened this issue Oct 28, 2020 · 1 comment

Comments

@myitcv
Copy link
Member

@myitcv myitcv commented Oct 28, 2020

What is the URL of the page with the issue?

https://pkg.go.dev/

What is your user agent?

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.59 Safari/537.36

Screenshot

n/a

What did you do?

Visited https://pkg.go.dev/

What did you expect to see?

I would like to be able to set a cookie/other that allows https://pkg.go.dev/ to in effect be https://beta.pkg.go.dev/, in much the same way that users can opt-in to being redirected to https://pkg.go.dev/ from godoc.

What did you see instead?

No option to "opt in" to https://beta.pkg.go.dev/

@julieqiu
Copy link
Contributor

@julieqiu julieqiu commented Nov 2, 2020

If anyone is interested in working on this feature, here's the code for how users can opt-in to always being redirected from godoc.org to pkg.go.dev: https://github.com/golang/gddo/blob/721e228c7686d830b5decc691a4dc7e6a6e94888/gddo-server/main.go#L1161

@julieqiu julieqiu added the help wanted label Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.