fix: SERVICE_FQDN has source port in it

This commit is contained in:
iamEvan 2024-05-30 20:05:44 +01:00
parent e3e938c8eb
commit 71e32520cf

View File

@ -121,7 +121,7 @@ function updateCompose(ServiceApplication|ServiceDatabase $resource)
$generatedEnv = EnvironmentVariable::where('service_id', $resource->service_id)->where('key', $variableName)->first();
// ray($generatedEnv);
if ($generatedEnv) {
$generatedEnv->value = $fqdn . ':' . $port . $path;
$generatedEnv->value = $fqdn . $path;
$generatedEnv->save();
}
}