Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

revert: variable parsing

Andras Bacsaib71f1a79c878
diff --git a/bootstrap/helpers/services.php b/bootstrap/helpers/services.php
index 5b71a8b103..8e3c0337ed 100644
--- a/bootstrap/helpers/services.php
+++ b/bootstrap/helpers/services.php
@@ -18,7 +18,7 @@ function collectRegex(string $name)
}
function replaceVariables($variable)
{
- return $variable->after('${')->before('}');
+ return $variable->replaceFirst('$', '')->replaceFirst('{', '')->replaceLast('}', '');
}
function getFilesystemVolumesFromServer(ServiceApplication|ServiceDatabase|Application $oneService, bool $isInit = false)