From 5ce3c316e5b3b088cf7612e19ba44ed8053ac540 Mon Sep 17 00:00:00 2001 From: "J. Alexander Curtis" Date: Sun, 21 Jun 2020 15:03:04 -0600 Subject: [PATCH] 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. --- source/docs/v3/tenant-identification.blade.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/docs/v3/tenant-identification.blade.md b/source/docs/v3/tenant-identification.blade.md index 6b508d7..0db17ee 100644 --- a/source/docs/v3/tenant-identification.blade.md +++ b/source/docs/v3/tenant-identification.blade.md @@ -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