diff --git a/config/tenancy.php b/config/tenancy.php index bca00ca..0e194b5 100644 --- a/config/tenancy.php +++ b/config/tenancy.php @@ -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.