1
0
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:
Gerasimos Maropoulos
2016-08-17 12:57:54 +03:00
parent 3beb292f4f
commit bef334868b
5 changed files with 742 additions and 15 deletions

View File

@@ -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