commit | bbddea47c314db1df8088f531ab0355915c9b564 | [log] [tgz] |
---|---|---|
author | Andrew Bonventre <andybons@golang.org> | Wed Oct 04 16:10:08 2017 -0400 |
committer | Andrew Bonventre <andybons@golang.org> | Wed Oct 04 20:11:18 2017 +0000 |
tree | 5104de28d486e6573378ff04f83f6782e1e0112f | |
parent | 68e087e2a5786de2c035ed544b1c5a42e31f1933 [diff] |
godoc: fix error with gcsBaseURL not being defined Change-Id: I508209c3bad67b791ee8c162bd4df448f9b84bef Reviewed-on: https://go-review.googlesource.com/68270 Reviewed-by: Chris Broadfoot <cbro@golang.org>
diff --git a/godoc/dl/dl.go b/godoc/dl/dl.go index e9b38c1..7a6fe33 100644 --- a/godoc/dl/dl.go +++ b/godoc/dl/dl.go
@@ -424,7 +424,7 @@ http.NotFound(w, r) return } - http.Redirect(w, r, gcsBaseURL+name, http.StatusFound) + http.Redirect(w, r, edgeCacheBaseURL+name, http.StatusFound) } func validUser(user string) bool {