Skip to content

Domain and add serverName to work without ssl? #1909

@Mupli

Description

@Mupli

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions