From 7aeb5dc30b6841275b79283ab7e87814510ef50c Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 22 Mar 2020 15:50:46 +0100 Subject: removed ubiquitous stuff --- src/http/http.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') 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() -- cgit 1.4.1