diff --git a/app/Livewire/Project/Application/General.php b/app/Livewire/Project/Application/General.php index 7c3700107..a8032f6f8 100644 --- a/app/Livewire/Project/Application/General.php +++ b/app/Livewire/Project/Application/General.php @@ -177,6 +177,9 @@ public function updatedApplicationBaseDirectory() $this->loadComposeFile(); } } + public function updatedApplicationFqdn() { + $this->resetDefaultLabels(); + } public function updatedApplicationBuildPack() { if ($this->application->build_pack !== 'nixpacks') { @@ -204,11 +207,13 @@ public function getWildcardDomain() $fqdn = generateFqdn($server, $this->application->uuid); $this->application->fqdn = $fqdn; $this->application->save(); + $this->resetDefaultLabels(); $this->dispatch('success', 'Wildcard domain generated.'); } } public function resetDefaultLabels() { + ray('resetDefaultLabels'); $this->customLabels = str(implode("|", generateLabelsApplication($this->application)))->replace("|", "\n"); $this->ports_exposes = $this->application->ports_exposes; diff --git a/config/sentry.php b/config/sentry.php index a09d9434f..9e6f8ee9b 100644 --- a/config/sentry.php +++ b/config/sentry.php @@ -7,7 +7,7 @@ // The release version of your application // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')) - 'release' => '4.0.0-beta.254', + 'release' => '4.0.0-beta.255', // When left empty or `null` the Laravel environment will be used 'environment' => config('app.env'), diff --git a/config/version.php b/config/version.php index 7cbdc502f..a307a90e6 100644 --- a/config/version.php +++ b/config/version.php @@ -1,3 +1,3 @@