From df140184e69bb89fdb8a4bccac7aa3dc0cf3766b Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 12 Apr 2020 15:56:50 -0700 Subject: [PATCH] Correctly return the updated key --- app/Services/Eggs/EggConfigurationService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Eggs/EggConfigurationService.php b/app/Services/Eggs/EggConfigurationService.php index e2dac7281..3d98cc33c 100644 --- a/app/Services/Eggs/EggConfigurationService.php +++ b/app/Services/Eggs/EggConfigurationService.php @@ -195,7 +195,7 @@ class EggConfigurationService // that. For example, the Spigot egg uses "config.docker.interface" to identify the Docker // interface to proxy through, but the Panel would be unaware of that. if (Str::startsWith($key, 'config.')) { - return "{{{$key}}}"; + return preg_replace('/{{(.*)}}/', "{{{$key}}}", $value); } // Replace anything starting with "server." with the value out of the server configuration