mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
Provide exempt_domains example
When I was setting this up, I noticed that using the https protocol would cause the package to throw an exception. After a bit of tinkering, I realized that the domain needs to be completely stripped (no protocol) in order for the central app to recognize it. This PR just adds a simple example to the docs for this.
This commit is contained in:
parent
6cb9deb08e
commit
c83a795948
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ Controller namespace used for routes in `routes/tenant.php`. The default value i
|
|||
|
||||
### `exempt_domains` {#exempt-domains}
|
||||
|
||||
If a hostname from this array is visited, the `tenant.php` routes won't be registered, letting you use the same routes as in that file.
|
||||
If a hostname from this array is visited, the `tenant.php` routes won't be registered, letting you use the same routes as in that file. This should be the root domain without the protocol (i.e., ```example.com``` rather than ```https://example.com```).
|
||||
|
||||
### `database` {#database}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue