mirror of
https://github.com/kataras/iris.git
synced 2025-03-15 17:36:29 +01:00
minor fix on _examples/request-logger/accesslog-proxy
This commit is contained in:
parent
574db973d0
commit
ff58e0c049
|
@ -81,6 +81,6 @@ func newProxyHandler(proxyURL string) iris.Handler {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
reverseProxy := host.ProxyHandler(target)
|
reverseProxy := host.ProxyHandler(target, nil)
|
||||||
return iris.FromStd(reverseProxy)
|
return iris.FromStd(reverseProxy)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user