fix: 修復 central_domains 從環境變數讀取
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m4s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped

This commit is contained in:
2026-01-15 13:25:33 +08:00
parent 190d6c2bd9
commit a6ed2720d5

View File

@@ -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.