config: Add staging domain to central_domains and support env var
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m40s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m40s
This commit is contained in:
@@ -16,12 +16,16 @@ return [
|
||||
*
|
||||
* Only relevant if you're using the domain or subdomain identification middleware.
|
||||
*/
|
||||
'central_domains' => [
|
||||
'127.0.0.1',
|
||||
'localhost',
|
||||
'localhost:8000',
|
||||
'growuppro.com.br',
|
||||
],
|
||||
'central_domains' => array_filter(array_merge(
|
||||
explode(',', env('CENTRAL_DOMAINS', '')),
|
||||
[
|
||||
'127.0.0.1',
|
||||
'localhost',
|
||||
'localhost:8000',
|
||||
'growuppro.com.br',
|
||||
'staging.growuppro.com.br',
|
||||
]
|
||||
)),
|
||||
|
||||
/**
|
||||
* Tenancy bootstrappers are executed when tenancy is initialized.
|
||||
|
||||
Reference in New Issue
Block a user