diff --git a/vtqe/tools/http.go b/vtqe/tools/http.go index 64c64ad..f2979f2 100644 --- a/vtqe/tools/http.go +++ b/vtqe/tools/http.go @@ -169,7 +169,7 @@ func ReadFolder(w http.ResponseWriter, r *http.Request, fullpath string, isroot } w.Write([]byte("
\n")) if !isroot { - w.Write([]byte(fmt.Sprintf("%s %s
\n", "..", "..", "上层文件夹"))) + w.Write([]byte(fmt.Sprintf("%s %s
\n", r.URL.Path+"/..", "..", "上层文件夹"))) } if r.URL.Path == "/" { r.URL.Path = ""