diff options
author | Emile <hanemile@protonmail.com> | 2020-03-22 15:50:46 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2020-03-22 15:50:46 +0100 |
commit | 7aeb5dc30b6841275b79283ab7e87814510ef50c (patch) | |
tree | 6f1dc7983f91e033351d803e1efa10e64786d680 /src/http | |
parent | c18c61e153771890dd8cfee863361e0624ba028d (diff) |
removed ubiquitous stuff
Diffstat (limited to 'src/http')
-rw-r--r-- | src/http/http.go | 4 |
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() |