fix: public repository names

This commit is contained in:
Andras Bacsai 2023-10-06 20:48:03 +02:00
parent b095b88281
commit 45bca8649b

View File

@ -144,7 +144,7 @@ public function submit()
if ($this->git_source === 'other') {
$application_init = [
'name' => generate_application_name($this->git_repository, $this->git_branch),
'name' => generate_random_name(),
'git_repository' => $this->git_repository,
'git_branch' => $this->git_branch,
'build_pack' => 'nixpacks',
@ -178,7 +178,6 @@ public function submit()
$fqdn = generateFqdn($destination->server, $application->uuid);
$application->fqdn = $fqdn;
$application->name = generate_application_name($this->git_repository, $this->git_branch, $application->uuid);
$application->save();
return redirect()->route('project.application.configuration', [