Provide exempt_domains examples (#44)

* 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.

* Update central-app.blade.md

* Update central-app.blade.md

* Update docs/source/v2/central-app.blade.md

Co-Authored-By: Samuel Štancl <samuel.stancl@gmail.com>

* Update docs/source/v2/configuration.blade.md

* ` instead of ```

* ` instead of ```

Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
This commit is contained in:
Nick Parker 2020-03-15 16:32:11 -04:00 committed by GitHub
parent cffbb8d1cb
commit b212434990
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -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 domain without the protocol (i.e., `example.com` rather than `https://example.com`).
### `database` {#database}