mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 02:04:03 +00:00
Subdomain/ Domain Clarification in Tenant Identification Docs (#56)
I believe this paragraph has the information switched. A string in the `domain` column that contains a **dot** would represent a domain/hostname and a string in this column without a dot, would represent a subdomain. The current documentation has this flipped. It had me second guessing myself. Unless I am misunderstanding something. Maybe I am misunderstanding things, and if so, then disregard this PR.
This commit is contained in:
parent
1819c7b9e9
commit
5ce3c316e5
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ The middleware for this method is `Stancl\Tenancy\Middleware\InitializeTenancyBy
|
|||
|
||||
If you'd like to use subdomains and domains at the same time, use the `Stancl\Tenancy\Middleware\InitializeTenancyByDomainOrSubdomain` middleware.
|
||||
|
||||
Records that contain **dots** in the `domain` column will be treated as subdomains and records that don't contain any dots will be treated as domains (hostnames).
|
||||
Records that contain **dots** in the `domain` column will be treated as domains/hostnames (eg. `foo.bar.com`) and records that don't contain any dots will be treated as subdomains (eg. `foo`).
|
||||
|
||||
## Path identification
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue