update chain route
This commit is contained in:
@ -55,7 +55,7 @@ func (h *ssuHandler) Init(md md.Metadata) (err 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
|
||||
|
Reference in New Issue
Block a user