Fixed req.Host in datasource proxy, Fixes #1478

pull/1482/head
Torkel Ödegaard 10 years ago
parent e65a6cc063
commit 1a44036148
  1. 1
      pkg/api/dataproxy.go

@ -17,6 +17,7 @@ func NewReverseProxy(ds *m.DataSource, proxyPath string) *httputil.ReverseProxy
director := func(req *http.Request) {
req.URL.Scheme = target.Scheme
req.URL.Host = target.Host
req.Host = target.Host
reqQueryVals := req.URL.Query()

Loading…
Cancel
Save