mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 14:54:03 +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:
parent
13422fb090
commit
fa861ed6dd
2 changed files with 71 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue