diff --git a/pkg/apiserver/proxy.go b/pkg/apiserver/proxy.go index 9dab573dc82..8609da4e442 100644 --- a/pkg/apiserver/proxy.go +++ b/pkg/apiserver/proxy.go @@ -119,6 +119,9 @@ func (r *ProxyHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) { httpCode = http.StatusNotFound return } + // TODO: make this dynamic + location.Host = "localhost" + location.Scheme = "http" // Default to http if location.Scheme == "" {