revert: remove domains array, keep single domain config
Multi-domain handled at app level via config override. Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
parent
b75fa0ba57
commit
bad718da8d
1 changed files with 3 additions and 12 deletions
15
config.php
15
config.php
|
|
@ -4,25 +4,16 @@ return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| MCP Portal Domain(s)
|
| MCP Portal Domain
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
|
||||||
| The domain(s) where the MCP Portal is served. Routes are registered for
|
| Default domain for the MCP Portal. The app-level Boot may override this
|
||||||
| each domain in the 'domains' array.
|
| with a wildcard (e.g. mcp.{tld}) for multi-domain support.
|
||||||
|
|
|
||||||
| Production: mcp.host.uk.com
|
|
||||||
| Local dev: mcp.host.test, mcp.lthn.test (Valet)
|
|
||||||
|
|
|
||||||
| Set MCP_DOMAINS as a comma-separated list for multiple domains.
|
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'domain' => env('MCP_DOMAIN', 'mcp.'.env('APP_DOMAIN', 'host.uk.com')),
|
'domain' => env('MCP_DOMAIN', 'mcp.'.env('APP_DOMAIN', 'host.uk.com')),
|
||||||
|
|
||||||
'domains' => array_filter(array_map('trim', explode(',',
|
|
||||||
env('MCP_DOMAINS', env('MCP_DOMAIN', 'mcp.'.env('APP_DOMAIN', 'host.uk.com')))
|
|
||||||
))),
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Registry Path
|
| Registry Path
|
||||||
|
|
|
||||||
Reference in a new issue