From 31f486c75392d0125472d2eb85e3b37ec6634f80 Mon Sep 17 00:00:00 2001 From: boban Date: Fri, 24 Apr 2026 14:03:24 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20SSL-Erstellung=20nicht=20von=20APP=5FENV?= =?UTF-8?q?=20abh=C3=A4ngig=20machen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit isProduction()-Check entfernt — SSL wird jetzt allein durch skipSsl gesteuert, da APP_ENV=local sonst SSL-Zertifikate komplett verhindert. Co-Authored-By: Claude Sonnet 4.6 --- app/Livewire/Setup/Wizard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Livewire/Setup/Wizard.php b/app/Livewire/Setup/Wizard.php index 6bb16d8..c5a4b60 100644 --- a/app/Livewire/Setup/Wizard.php +++ b/app/Livewire/Setup/Wizard.php @@ -152,7 +152,7 @@ class Wizard extends Component file_put_contents(self::STATE_DIR . "/{$k}", 'pending'); } - $ssl = (!$this->skipSsl && app()->isProduction()) ? 1 : 0; + $ssl = $this->skipSsl ? 0 : 1; $artisan = base_path('artisan'); $cmd = sprintf( 'nohup php %s mailwolt:wizard-domains --ui=%s --mail=%s --webmail=%s --ssl=%d > /dev/null 2>&1 &', @@ -192,7 +192,7 @@ class Wizard extends Component $this->domainStatus = ['ui' => 'pending', 'mail' => 'pending', 'webmail' => 'pending']; $this->setupDone = false; - $ssl = (!$this->skipSsl && app()->isProduction()) ? 1 : 0; + $ssl = $this->skipSsl ? 0 : 1; $artisan = base_path('artisan'); $cmd = sprintf( 'nohup php %s mailwolt:wizard-domains --ui=%s --mail=%s --webmail=%s --ssl=%d > /dev/null 2>&1 &',