mirror of
https://github.com/golang/go
synced 2024-11-22 01:44:40 -07:00
cmd/godoc: use *goroot as base path in zip file
R=golang-dev, r CC=golang-dev https://golang.org/cl/5781069
This commit is contained in:
parent
f00872527b
commit
181dc14cd6
@ -42,7 +42,7 @@ func init() {
|
||||
log.Fatalf("%s: %s\n", zipfile, err)
|
||||
}
|
||||
// rc is never closed (app running forever)
|
||||
fs.Bind("/", NewZipFS(rc, zipFilename), "/", bindReplace)
|
||||
fs.Bind("/", NewZipFS(rc, zipFilename), *goroot, bindReplace)
|
||||
|
||||
// initialize http handlers
|
||||
readTemplates()
|
||||
|
Loading…
Reference in New Issue
Block a user