Domain and add serverName to work without ssl?

Author: MupliCreated Mar 8, 2026Updated Mar 11, 2026
Labelslow priority

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.