We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 628a2df commit 655596bCopy full SHA for 655596b
group.go
@@ -23,6 +23,10 @@ func (g *Group) Use(middleware ...MiddlewareFunc) {
23
if len(g.middleware) == 0 {
24
return
25
}
26
+ // Allow all requests to reach the group as they might get dropped if router
27
+ // doesn't find a match, making none of the group middleware process.
28
+ g.Any("", NotFoundHandler)
29
+ g.Any("/*", NotFoundHandler)
30
31
32
// CONNECT implements `Echo#CONNECT()` for sub-routes within the Group.
0 commit comments