1
0
mirror of https://github.com/rancher/steve.git synced 2025-08-31 23:20:56 +00:00

Small fixes and enhancements

This commit is contained in:
Darren Shepherd
2020-02-20 16:06:43 -07:00
parent 265a7a8763
commit 5b94b82bc6
5 changed files with 99 additions and 5 deletions

View File

@@ -1,7 +1,6 @@
package proxy
import (
"fmt"
"net/http"
"net/url"
"strings"
@@ -124,7 +123,6 @@ func stripLeaveSlash(prefix string, h http.Handler) http.Handler {
p = "/" + p
}
req.URL.Path = p
fmt.Println(req.Method, " ", req.URL.String())
h.ServeHTTP(w, req)
})
}