1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 16:54:05 +00:00

Added request data identification middleware (#207)

* Added request data identification middleware

* Fixed styling

* Changed to Illuminate request instead of helper

* Enabled header and querystring customisation

Co-authored-by: Jesper Jacobsen <joj@webshipper.com>
This commit is contained in:
JapSeyz 2020-03-15 21:37:37 +01:00 committed by GitHub
parent 13422fb090
commit fa861ed6dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 71 additions and 0 deletions

View file

@ -95,6 +95,10 @@ return [
'storage_to_config_map' => [ // Used by the TenantConfig feature
// 'paypal_api_key' => 'services.paypal.api_key',
],
'identification' => [
'header' => 'X-Tenant', // Can be anything, but should really start with "X-",
'query_parameter' => '_tenant'
],
'home_url' => '/app',
'create_database' => true,
'queue_database_creation' => false,