mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
fix: include query params with relayed request
This commit is contained in:
parent
083fbf8633
commit
beced39923
@ -65,6 +65,7 @@ func (h *RelayHandler) Any(w http.ResponseWriter, r *http.Request) {
|
|||||||
w.Write([]byte{})
|
w.Write([]byte{})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
targetUrl.RawQuery = r.URL.RawQuery
|
||||||
|
|
||||||
p := httputil.ReverseProxy{
|
p := httputil.ReverseProxy{
|
||||||
Director: func(r *http.Request) {
|
Director: func(r *http.Request) {
|
||||||
|
Loading…
Reference in New Issue
Block a user