From 45bca8649b69e7e00ff77d864677a0c3dacb6c2c Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 6 Oct 2023 20:48:03 +0200 Subject: [PATCH] fix: public repository names --- app/Http/Livewire/Project/New/PublicGitRepository.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Http/Livewire/Project/New/PublicGitRepository.php b/app/Http/Livewire/Project/New/PublicGitRepository.php index 7a206fae4..ebcbb8253 100644 --- a/app/Http/Livewire/Project/New/PublicGitRepository.php +++ b/app/Http/Livewire/Project/New/PublicGitRepository.php @@ -144,7 +144,7 @@ class PublicGitRepository extends Component 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 @@ class PublicGitRepository extends Component $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', [