mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
improve route dump for package ghttp
This commit is contained in:
@ -293,7 +293,7 @@ func (s *Server) dumpRouterMap() {
|
||||
table.SetCenterSeparator("|")
|
||||
|
||||
for _, item := range s.GetRoutes() {
|
||||
item.Middleware = gstr.SubStrFromREx(item.Middleware, ".")
|
||||
item.Middleware = gstr.Replace(item.Middleware, ",", "\n")
|
||||
data := make([]string, 0)
|
||||
if isJustDefaultServerAndDomain {
|
||||
data = append(
|
||||
|
||||
Reference in New Issue
Block a user