diff --git a/app/Livewire/Settings/Configuration.php b/app/Livewire/Settings/Configuration.php index fbc88785d0..5281a1e019 100644 --- a/app/Livewire/Settings/Configuration.php +++ b/app/Livewire/Settings/Configuration.php @@ -69,13 +69,14 @@ public function submit() } $this->validate(); - if ($this->settings->is_dns_validation_enabled) { + if ($this->settings->is_dns_validation_enabled && $this->settings->fqdn) { + ray('asdf'); if (!validate_dns_entry($this->settings->fqdn, $this->server)) { $this->dispatch('error', "Validating DNS ({$this->settings->fqdn}) failed.

Make sure you have added the DNS records correctly.

Check this documentation for further help."); $error_show = true; } } - check_domain_usage(domain: $this->settings->fqdn); + if ($this->settings->fqdn) check_domain_usage(domain: $this->settings->fqdn); $this->settings->custom_dns_servers = str($this->settings->custom_dns_servers)->replaceEnd(',', '')->trim(); $this->settings->custom_dns_servers = str($this->settings->custom_dns_servers)->trim()->explode(',')->map(function ($dns) { return str($dns)->trim()->lower(); diff --git a/config/sentry.php b/config/sentry.php index 28ef2f2436..3a1268c48b 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.262', + 'release' => '4.0.0-beta.263', // 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 36e2565794..d9f80bdf37 100644 --- a/config/version.php +++ b/config/version.php @@ -1,3 +1,3 @@