fix: 修復 central_domains 從環境變數讀取
This commit is contained in:
@@ -16,10 +16,9 @@ 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(
|
||||||
'127.0.0.1',
|
array_map('trim', explode(',', env('CENTRAL_DOMAINS', '127.0.0.1,localhost')))
|
||||||
'localhost',
|
),
|
||||||
],
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tenancy bootstrappers are executed when tenancy is initialized.
|
* Tenancy bootstrappers are executed when tenancy is initialized.
|
||||||
|
|||||||
Reference in New Issue
Block a user