Skip to content

Commit bbddea4

Browse files
committed
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>
1 parent 68e087e commit bbddea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

godoc/dl/dl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ func getHandler(w http.ResponseWriter, r *http.Request) {
424424
http.NotFound(w, r)
425425
return
426426
}
427-
http.Redirect(w, r, gcsBaseURL+name, http.StatusFound)
427+
http.Redirect(w, r, edgeCacheBaseURL+name, http.StatusFound)
428428
}
429429

430430
func validUser(user string) bool {

0 commit comments

Comments
 (0)