1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 10:27:06 +00:00

Banner at routine and faster animation

This commit is contained in:
Makis Maropoulos
2016-06-02 19:45:13 +03:00
parent e5efa6c5d8
commit c2e4949b5f
2 changed files with 4 additions and 3 deletions

View File

@@ -217,7 +217,7 @@ func (r *router) optimize() {
// optimizeLookups runs AFTER server's listen
func (r *router) optimizeLookups() {
// set the isTLS on all routes and the correct full domain (if it's local its empty but we don't want that) ( we don't use Domain because it's used to the tree)
// set the isTLS on all routes and the listening full host
listeningHost := r.station.server.Listener().Addr().String()
for idx, _ := range r.lookups {
theR := r.lookups[idx]