1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00
Former-commit-id: a42c54708297e6fed78d6fdc2b7cd5ee91c9574b
This commit is contained in:
kataras
2017-07-23 12:10:51 +03:00
parent 11f2f296ba
commit 726d89fd1b
10 changed files with 257 additions and 37 deletions

View File

@@ -114,6 +114,9 @@ func (h *routerHandler) Build(provider RoutesProvider) error {
rp := errors.NewReporter()
for _, r := range registeredRoutes {
// build the r.Handlers based on begin and done handlers, if any.
r.BuildHandlers()
if r.Subdomain != "" {
h.hosts = true
}