fix: derive MCP portal domain from APP_DOMAIN
Some checks failed
CI / PHP 8.3 (push) Failing after 2s
CI / PHP 8.4 (push) Failing after 2s

Instead of hardcoding mcp.host.uk.com as the default, derive it from
APP_DOMAIN env var so it works automatically per environment without
needing a separate MCP_DOMAIN override.

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Snider 2026-03-03 16:51:16 +00:00
parent 1ef8157822
commit 8efd939ce4

View file

@ -15,7 +15,7 @@ return [
|
*/
'domain' => env('MCP_DOMAIN', 'mcp.host.uk.com'),
'domain' => env('MCP_DOMAIN', 'mcp.'.env('APP_DOMAIN', 'host.uk.com')),
/*
|--------------------------------------------------------------------------