Merge pull request #2327 from iamEvanYT/service-fqdn-fix

fix: SERVICE_FQDN appending source port
This commit is contained in:
Andras Bacsai 2024-05-31 10:46:37 +02:00 committed by GitHub
commit 62293926ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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();
}
}