mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
add example for #1601
This commit is contained in:
@@ -80,6 +80,8 @@ func (l *requestLoggerMiddleware) ServeHTTP(ctx *context.Context) {
|
||||
|
||||
if l.config.PathAfterHandler /* we don't care if Path is disabled */ {
|
||||
path = l.getPath(ctx)
|
||||
// note: we could just use the r.RequestURI which is the original one,
|
||||
// but some users may need the stripped one (on HandleDir).
|
||||
}
|
||||
|
||||
if l.config.Status {
|
||||
|
||||
Reference in New Issue
Block a user