commit | f2d3a2668c1c2c9276565b37ffdebc17fcb6f47e | [log] [tgz] |
---|---|---|
author | Channing Kimble-Brown <channing@golang.org> | Fri Mar 01 13:52:52 2019 -0500 |
committer | Channing Kimble-Brown <channing@golang.org> | Fri Mar 01 19:41:04 2019 +0000 |
tree | ba3f81c193f16f65cb67934ce4b05dd195c34842 | |
parent | 8cde3f76c4088bc6d1d110818a680d6d9be11709 [diff] |
cmd/golangorg: add GODOC environment variables to prod While x/website relies on environment variables with the GOLANGORG_ prefix (as defined in app.prod.yaml), the required version of the x/tools/godoc package relies on environment variables with the GODOC_ prefix. So when it doesn't find them, it defaults to GODOC_PROD and GODOC_ENFORCE_HOSTS being false. This causes the website's share settings to not be set properly. To resolve this issue we are adding GODOC_PROD and GODOC_ENFORCE_HOSTS variables to x/website's app.prod.yaml explicitly with the intention of deleting them in the future when it is safe to do so. Updates golang/go#29206 Change-Id: I5db74d680241b532f51bcc73eb51151e9f60483f Reviewed-on: https://go-review.googlesource.com/c/164818 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This repository holds the Go Website server code and content.
The easiest way to install is to run go get -u golang.org/x/website
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/website
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the website repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/website:” in the subject line, so it is easy to find.