Commit 95307a3d authored by astaxie's avatar astaxie

miss filter *

parent a85d91b4
......@@ -15,6 +15,9 @@ func (mr *FilterRouter) ValidRouter(router string) bool {
if mr.pattern == "" {
return true
}
if mr.pattern == "*" {
return true
}
if router == mr.pattern {
return true
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment