mirror of
https://github.com/eolinker/apinto
synced 2025-10-21 15:59:27 +08:00
优化灰度
This commit is contained in:
@@ -68,7 +68,7 @@ func (h *httpHandler) ServeHTTP(ctx eocontext.EoContext) {
|
||||
|
||||
ctx.SetLabel("method", httpContext.Request().Method())
|
||||
ctx.SetLabel("path", httpContext.Request().URI().RequestURI())
|
||||
ctx.SetLabel("ip", httpContext.Request().ReadIP())
|
||||
ctx.SetLabel("ip", httpContext.Request().RealIp())
|
||||
|
||||
ctx.SetCompleteHandler(h.completeHandler)
|
||||
ctx.SetApp(h.service)
|
||||
|
Reference in New Issue
Block a user