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:
Nick Parker 2020-02-14 12:43:27 -05:00 committed by GitHub
parent 6cb9deb08e
commit c83a795948
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ Controller namespace used for routes in `routes/tenant.php`. The default value i
### `exempt_domains` {#exempt-domains} ### `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} ### `database` {#database}