diff --git a/src/cmd/godoc/appinit.go b/src/cmd/godoc/appinit.go index 6bffedb5c0..4096a4f224 100644 --- a/src/cmd/godoc/appinit.go +++ b/src/cmd/godoc/appinit.go @@ -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()