From 327278518c23807e1c2d9975a06a821b762c4b87 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Wed, 3 Jul 2019 01:26:27 +0300 Subject: [PATCH] relax Makis, you will not die tomorrow, be careful here. --- Routing-subdomains.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Routing-subdomains.md b/Routing-subdomains.md index 2dc86b1..162ef1c 100644 --- a/Routing-subdomains.md +++ b/Routing-subdomains.md @@ -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."`.