1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:34:42 -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:
Andrew Gerrand 2012-03-27 10:10:25 +11:00
parent 9b6555c605
commit fd9c206718

View File

@ -19,7 +19,7 @@ import (
func serveError(w http.ResponseWriter, r *http.Request, relpath string, err error) {
contents := applyTemplate(errorHTML, "errorHTML", err) // err may contain an absolute path!
w.WriteHeader(http.StatusNotFound)
servePage(w, "File "+relpath, "", "", contents)
servePage(w, relpath, "File "+relpath, "", "", contents)
}
func init() {