pkgsite/internal/teeproxy
shaquilleq 605b9ebfe7 internal/teeproxy: use environment var to enable forwarding
The teeproxy currently uses a database flag to determine whether to
forward requests to pkg.go.dev. Use an environment variable instead.

Change-Id: If036184131512611fab477ac769edfbeee7a61a9
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/241819
Reviewed-by: Julie Qiu <julie@golang.org>
2020-07-10 21:16:44 +00:00
..
teeproxy.go internal/teeproxy: use environment var to enable forwarding 2020-07-10 21:16:44 +00:00
teeproxy_test.go internal/teeproxy: use environment var to enable forwarding 2020-07-10 21:16:44 +00:00