mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
minor fix on _examples/request-logger/accesslog-proxy
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user