diff --git a/config/tenancy.php b/config/tenancy.php index 73908cf..7baf6ef 100644 --- a/config/tenancy.php +++ b/config/tenancy.php @@ -16,10 +16,9 @@ return [ * * Only relevant if you're using the domain or subdomain identification middleware. */ - 'central_domains' => [ - '127.0.0.1', - 'localhost', - ], + 'central_domains' => array_filter( + array_map('trim', explode(',', env('CENTRAL_DOMAINS', '127.0.0.1,localhost'))) + ), /** * Tenancy bootstrappers are executed when tenancy is initialized.