From b170af3945916183248259659fbee9f4bc292ae0 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Mon, 8 Dec 2025 01:42:53 +0100 Subject: [PATCH] yxcyc --- src/ApiKernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ApiKernel.php b/src/ApiKernel.php index d425137..b62caca 100644 --- a/src/ApiKernel.php +++ b/src/ApiKernel.php @@ -2574,7 +2574,7 @@ declare(strict_types=1); $senderConfig = [ 'token' => getenv('EMAILTEMPLATE_SENDER_TOKEN') ?: 'REPLACE_WITH_SHARED_TOKEN', 'template_api' => [ - 'base_url' => getenv('EMAILTEMPLATE_API_BASE') ?: 'https://api.emailtemplate.it/external/render', + 'base_url' => getenv('EMAILTEMPLATE_API_BASE') ?: ($GLOBALS['app_api_base'] ?? 'https://api.emailtemplate.it/external/render'), 'token' => getenv('EMAILTEMPLATE_API_TOKEN') ?: 'REPLACE_WITH_TEMPLATE_API_TOKEN', 'timeout' => 15, ],