Correctly return the updated key
This commit is contained in:
parent
4ed7b26f89
commit
df140184e6
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ class EggConfigurationService
|
||||||
// that. For example, the Spigot egg uses "config.docker.interface" to identify the Docker
|
// 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.
|
// interface to proxy through, but the Panel would be unaware of that.
|
||||||
if (Str::startsWith($key, 'config.')) {
|
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
|
// Replace anything starting with "server." with the value out of the server configuration
|
||||||
|
|
Loading…
Reference in a new issue