mirror of
https://github.com/golang/go
synced 2024-11-22 15:54:52 -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