mirror of
https://github.com/kataras/iris.git
synced 2026-01-20 18:35:57 +00:00
Update to 4.1.0, New: SSH Remote control, READ HISTORY.md
https://github.com/kataras/iris/blob/master/HISTORY.md
This commit is contained in:
2
http.go
2
http.go
@@ -1440,7 +1440,7 @@ func (mux *serveMux) register(method []byte, subdomain string, path string, midd
|
||||
// build collects all routes info and adds them to the registry in order to be served from the request handler
|
||||
// this happens once when server is setting the mux's handler.
|
||||
func (mux *serveMux) build() {
|
||||
|
||||
mux.tree = nil
|
||||
sort.Sort(bySubdomain(mux.lookups))
|
||||
for _, r := range mux.lookups {
|
||||
// add to the registry tree
|
||||
|
||||
Reference in New Issue
Block a user