mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
New feature: versioning.Aliases
Thanks @mulyawansentosa and @remopavithran for your donates ❤️
This commit is contained in:
@@ -152,7 +152,7 @@ func newApp() *iris.Application {
|
||||
}
|
||||
|
||||
// wildcard subdomains.
|
||||
wildcardSubdomain := app.Party("*.")
|
||||
wildcardSubdomain := app.WildcardSubdomain()
|
||||
{
|
||||
wildcardSubdomain.Get("/", func(ctx iris.Context) {
|
||||
ctx.Writef("Subdomain can be anything, now you're here from: %s", ctx.Subdomain())
|
||||
|
||||
Reference in New Issue
Block a user