refactor(urls): replace generateFqdn with generateUrl for consistent URL generation across applications

This commit is contained in:
Andras Bacsai
2025-08-28 09:49:58 +02:00
parent 754f78bcfd
commit 2e85ce0e0e
10 changed files with 13 additions and 13 deletions

View File

@@ -133,7 +133,7 @@ class CloneMe extends Component
$uuid = (string) new Cuid2;
$url = $application->fqdn;
if ($this->server->proxyType() !== 'NONE' && $applicationSettings->is_container_label_readonly_enabled === true) {
$url = generateFqdn(server: $this->server, random: $uuid, parserVersion: $application->compose_parsing_version);
$url = generateUrl(server: $this->server, random: $uuid);
}
$newApplication = $application->replicate([