mirror of
https://github.com/golang/go
synced 2024-11-25 10:07:56 -07:00
cmd/godoc: fix app engine version
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5902060
This commit is contained in:
parent
9b6555c605
commit
fd9c206718
@ -19,7 +19,7 @@ import (
|
|||||||
func serveError(w http.ResponseWriter, r *http.Request, relpath string, err error) {
|
func serveError(w http.ResponseWriter, r *http.Request, relpath string, err error) {
|
||||||
contents := applyTemplate(errorHTML, "errorHTML", err) // err may contain an absolute path!
|
contents := applyTemplate(errorHTML, "errorHTML", err) // err may contain an absolute path!
|
||||||
w.WriteHeader(http.StatusNotFound)
|
w.WriteHeader(http.StatusNotFound)
|
||||||
servePage(w, "File "+relpath, "", "", contents)
|
servePage(w, relpath, "File "+relpath, "", "", contents)
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
Loading…
Reference in New Issue
Block a user