From d4f3b683d8f1855a2c400f496e3904d445b88ef3 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Fri, 18 Aug 2017 02:41:00 +0900 Subject: [PATCH] doc: Avoid using symbolic links in paths Symbolic links can be problematic especially on Windows --- _docs/server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_docs/server/main.go b/_docs/server/main.go index 189202508..fee92a15e 100644 --- a/_docs/server/main.go +++ b/_docs/server/main.go @@ -34,7 +34,7 @@ var rootPath = "" func init() { _, path, _, _ := runtime.Caller(0) - rootPath = filepath.Join(filepath.Dir(path), "..", "public") + rootPath = filepath.Join(filepath.Dir(path), "..", "..", "docs") } func main() {