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:
@@ -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)
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user