good morning!!!!

Skip to content
Snippets Groups Projects
Verified Commit c21a638f authored by a's avatar a
Browse files

noot

parent 26d71cc8
No related branches found
No related tags found
No related merge requests found
......@@ -121,8 +121,7 @@ func (T *Server) Serve(conn *fed.Conn) {
T.log.Warn("database not found", zap.String("user", conn.User), zap.String("database", conn.Database))
return nil
}))
//for j := 0; j < len(T.routes); j++ {
for j := len(T.routes) - 1; j >= 0; j-- {
for j := 0; j < len(T.routes); j++ {
route := T.routes[j]
if route.match != nil && !route.match.Matches(conn) {
continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment