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>
This commit is contained in:
parent
68e087e2a5
commit
bbddea47c3
|
@ -424,7 +424,7 @@ func getHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
http.NotFound(w, r)
|
http.NotFound(w, r)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
http.Redirect(w, r, gcsBaseURL+name, http.StatusFound)
|
http.Redirect(w, r, edgeCacheBaseURL+name, http.StatusFound)
|
||||||
}
|
}
|
||||||
|
|
||||||
func validUser(user string) bool {
|
func validUser(user string) bool {
|
||||||
|
|
Loading…
Reference in New Issue