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

This commit is contained in:
Cauê Faleiros
2026-02-03 16:16:39 -03:00
parent 9c45249cbd
commit 2fcc84c3c7

View File

@@ -16,12 +16,16 @@ return [
* *
* Only relevant if you're using the domain or subdomain identification middleware. * Only relevant if you're using the domain or subdomain identification middleware.
*/ */
'central_domains' => [ 'central_domains' => array_filter(array_merge(
explode(',', env('CENTRAL_DOMAINS', '')),
[
'127.0.0.1', '127.0.0.1',
'localhost', 'localhost',
'localhost:8000', 'localhost:8000',
'growuppro.com.br', 'growuppro.com.br',
], 'staging.growuppro.com.br',
]
)),
/** /**
* Tenancy bootstrappers are executed when tenancy is initialized. * Tenancy bootstrappers are executed when tenancy is initialized.