Why it doesn't work like that for non ssl connections. I mean TemplateApp has this api and does nothing.
app
.domain("api.*")
.get("/users", getUsers)
.post("/users", createUser)
.domain("admin.*")
.get("/dashboard", adminDashboard)
.get("/stats", adminStats)
This could actually help me, as I'm running multi domain server with different behaviors based on domain.
Edit: From software design perspective this method should not be available in non-SSL api if it does nothing.