Revert "godoc: correct fsRoot to prevent misleading message about cmd/"

This reverts commit db9df82880.

Reason for revert: Broke the build. I forgot to run tests, sorry.

Change-Id: I8a6ef88cac2aa638982530960f0d37a32dc5ccf0
Reviewed-on: https://go-review.googlesource.com/95875
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Brad Fitzpatrick 2018-02-21 16:37:51 +00:00
parent e8fdd2090a
commit 45c8140d10
1 changed files with 4 additions and 5 deletions

View File

@ -116,11 +116,10 @@ func NewPresentation(c *Corpus) *Presentation {
},
}
p.cmdHandler = handlerServer{
p: p,
c: c,
pattern: "/cmd/",
stripPrefix: "cmd/",
fsRoot: "/src/cmd",
p: p,
c: c,
pattern: "/cmd/",
fsRoot: "/src",
}
p.pkgHandler = handlerServer{
p: p,