update chain route

This commit is contained in:
ginuerzh committed 2022-09-20 11:48:51 +08:00
1 parent 01d7dc77c6
commit 1a1c038fd7
27 files changed
+565 -113

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ func (h *http2Handler) Init(md md.Metadata) error {
h.router = h.options.Router
if h.router == nil {
h.router = (&chain.Router{}).WithLogger(h.options.Logger)
h.router = chain.NewRouter(chain.LoggerRouterOption(h.options.Logger))
}
return nil