mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 15:30:36 +01:00
relax Makis, you will not die tomorrow, be careful here.
parent
0ba39c18ce
commit
327278518c
|
@ -9,7 +9,7 @@ Subdomains are separated into two categories: **static** and **dynamic/wildcard*
|
|||
We use the `Subdomain` and `WildcardSubdomain` methods of an `iris.Party` or `iris.Application` to register subdomains.
|
||||
|
||||
The `Subdomain` method returns a new `Party` which is responsible to register routes to
|
||||
his specific "subdomain".
|
||||
this specific "subdomain".
|
||||
|
||||
The only difference from a regular `Party` is that if called from a child party then the subdomain will be prepended to the path instead of appended.
|
||||
So if `app.Subdomain("admin").Subdomain("panel")` then the result is: `"panel.admin."`.
|
||||
|
|
Loading…
Reference in New Issue
Block a user