[x/go.dev] cmd/frontend: redirect /explore to discovery site

This adds an application for redirecting /explore requests to the
correct discovery site, depending on which domain is requested.

All static content should be served by appengine itself. The static
handler only is necessary for testing locally.

Fixes b/142726792

Change-Id: I5ae6a5630c6f01c55a705ff4fde037fd37de6fad
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go.dev/+/575223
CI-Result: Cloud Build <devtools-proctor-result-processor@system.gserviceaccount.com>
Reviewed-by: Andrew Bonventre <andybons@google.com>
X-GoDev-Commit: a83e60d5df3afba145bc26f18ff6f20b7e340b21
3 files changed
tree: 3063b82b20cdb5a9836126c2f2a605d7364c015c
  1. go.dev/
  2. AUTHORS
  3. CONTRIBUTING.md
  4. CONTRIBUTORS
  5. LICENSE
  6. PATENTS
  7. README.md
README.md

Go Website

This repository holds the Go Website server code and content.

Download/Install

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.

Report Issues / Send Patches

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 time 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.