From d465bb9cb8e05ee7159bdea842d831ea99aa4e7a Mon Sep 17 00:00:00 2001 From: throwaway Date: Wed, 17 Jan 2024 02:07:21 -0800 Subject: [PATCH] trim values from env --- docker/gen_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/gen_config.php b/docker/gen_config.php index 71fd721..a68f87c 100644 --- a/docker/gen_config.php +++ b/docker/gen_config.php @@ -13,7 +13,7 @@ $fourget_env = array_filter($env, function($v, $k) { foreach($fourget_env as $key => $val) { $target_key = preg_replace('/^FOURGET_/', '', $key); - $config[$target_key] = $val; + $config[$target_key] = trim($val, '\'"'); }; function type_to_string($n) {