about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/http/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/http.go b/src/http/http.go
index ee5434e..2402d05 100644
--- a/src/http/http.go
+++ b/src/http/http.go
@@ -167,7 +167,7 @@ func pathHandler(w http.ResponseWriter, r *http.Request) {
 	content["Breadcrumbs"] = breadcrumbsList
 
 	// get all files in the request dir
-	files, err := ioutil.ReadDir(requestURI)
+	files, err := ioutil.ReadDir(requestPath)
 	if err != nil {
 		logrus.Warn(err)
 		return