Gin. RedirectTrailingSlash not working if there are more than one child route

前端 未结 0 1083
一个人的身影
一个人的身影 2021-01-25 08:10

In Gin, RedirectTrailingSlash is not working if I add more than 1 route.

Example to reproduce

g := gin.Default()
g.RedirectTrailingSlash = true
g.GET("         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题