From ce8a7f6f46258c73e9f90a4f07d72e88729892f5 Mon Sep 17 00:00:00 2001 From: Pablo Zmdl Date: Thu, 25 Jun 2026 17:13:20 +0200 Subject: [PATCH] Allow to set desec URLs from environment Signed-off-by: Pablo Zmdl --- php/src/Data/ConfigurationManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php/src/Data/ConfigurationManager.php b/php/src/Data/ConfigurationManager.php index bb33515b..31c5d7f3 100644 --- a/php/src/Data/ConfigurationManager.php +++ b/php/src/Data/ConfigurationManager.php @@ -231,7 +231,7 @@ class ConfigurationManager * stray env var redirecting it in production. */ public string $desecApiBase { - get => $this->get('desec_api_base', 'https://desec.io/api/v1'); + get => $this->getEnvironmentalVariableOrConfig('TESTING___DESEC_API_BASE', 'desec_api_base', 'https://desec.io/api/v1'); } /** @@ -239,7 +239,7 @@ class ConfigurationManager * 'desec_update_url' config key (configuration.json) only — see desecApiBase. */ public string $desecUpdateUrl { - get => $this->get('desec_update_url', 'https://update.dedyn.io/'); + get => $this->getEnvironmentalVariableOrConfig('TESTING___DESEC_UPDATE_URL', 'desec_update_url', 'https://update.dedyn.io/'); } public string $desecToken {