refactor: use DEMO_TENANT_PORT env var for demo logic isolation
This commit is contained in:
@@ -20,6 +20,17 @@ return [
|
||||
array_map('trim', explode(',', env('CENTRAL_DOMAINS', '127.0.0.1,localhost')))
|
||||
),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Demo Mode Tenant Port
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If set, requests on this port will be treated as tenant requests
|
||||
| regardless of the host domain. Useful for IP-based demo access.
|
||||
|
|
||||
*/
|
||||
'demo_tenant_port' => env('DEMO_TENANT_PORT'),
|
||||
|
||||
/**
|
||||
* Tenancy bootstrappers are executed when tenancy is initialized.
|
||||
* Their responsibility is making Laravel features tenant-aware.
|
||||
|
||||
Reference in New Issue
Block a user