From 8efd939ce435fd7a5d40be716e2143080ea07ff4 Mon Sep 17 00:00:00 2001 From: Snider Date: Tue, 3 Mar 2026 16:51:16 +0000 Subject: [PATCH] fix: derive MCP portal domain from APP_DOMAIN 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 --- config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.php b/config.php index 787c9ef..e935829 100644 --- a/config.php +++ b/config.php @@ -15,7 +15,7 @@ return [ | */ - 'domain' => env('MCP_DOMAIN', 'mcp.host.uk.com'), + 'domain' => env('MCP_DOMAIN', 'mcp.'.env('APP_DOMAIN', 'host.uk.com')), /* |--------------------------------------------------------------------------