minor fix on _examples/request-logger/accesslog-proxy

This commit is contained in:
Gerasimos (Makis) Maropoulos 2021-06-15 00:49:42 +03:00
parent 574db973d0
commit ff58e0c049
No known key found for this signature in database
GPG Key ID: ACAB76DFB0DD3F3B

View File

@ -81,6 +81,6 @@ func newProxyHandler(proxyURL string) iris.Handler {
if err != nil {
panic(err)
}
reverseProxy := host.ProxyHandler(target)
reverseProxy := host.ProxyHandler(target, nil)
return iris.FromStd(reverseProxy)
}