about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/http/http.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/http/http.go b/src/http/http.go
index aeb3fbd..f4569d5 100644
--- a/src/http/http.go
+++ b/src/http/http.go
@@ -127,9 +127,7 @@ func pathHandler(w http.ResponseWriter, r *http.Request) {
 	content = make(map[string]interface{})
 
 	root := viper.GetString("server.root")
-	requestURI := fmt.Sprintf("%s%s", root, r.RequestURI)
-	logrus.Tracef("root: %s", root)
-	logrus.Tracef("requestURI: %s", root)
+	requestPath := fmt.Sprintf("%s%s", root, r.URL.Path)
 
 	query := r.URL.Query()