Update hlog_mw.go
This commit is contained in:
parent
c1f7f8067a
commit
6e4d01112c
@ -13,7 +13,7 @@ func ContextLogger(logger hlog.Logger) fiber.Handler {
|
|||||||
"ctxuserip": c.Get("X-Real-IP"),
|
"ctxuserip": c.Get("X-Real-IP"),
|
||||||
"ctxuserport": c.Get("X-Client-Port"),
|
"ctxuserport": c.Get("X-Client-Port"),
|
||||||
"keydomain": c.Hostname(),
|
"keydomain": c.Hostname(),
|
||||||
"keypath": c.Path(),
|
"keypath": c.Get("Origin"),
|
||||||
}))
|
}))
|
||||||
return c.Next()
|
return c.Next()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user