mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-18 04:44:03 +00:00
chore: (Improve documentation search for V3)
This commit is contained in:
parent
0549607899
commit
ecf4391f94
42 changed files with 156 additions and 156 deletions
|
|
@ -4,7 +4,7 @@ extends: _layouts.documentation
|
|||
section: content
|
||||
---
|
||||
|
||||
# Domains
|
||||
# Domains {#domains}
|
||||
|
||||
Note: Domains are optional. If you're using path or request data identification, you don't need to worry about them.
|
||||
|
||||
|
|
@ -18,7 +18,7 @@ $tenant->domains()->create([
|
|||
|
||||
If you use the subdomain identification middleware, the example above will work for `acme.{any of your central domains}`. If you use the domain identification middleware, use the full hostname like `acme.com`. If you use the combined domain/subdomain identification middleware, `acme` will work as a subdomain and `acme.com` will work as a domain.
|
||||
|
||||
## Local development
|
||||
## Local development {#local-development}
|
||||
|
||||
For local development, you may use `*.localhost` domains (like `foo.localhost`) for tenants. On many operating systems, these work the same way as `localhost`.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue