From 0b415c6862074e2a5370edc631212f85de7b0d9a Mon Sep 17 00:00:00 2001 From: boban Date: Fri, 24 Apr 2026 14:04:50 +0200 Subject: [PATCH] Fix: Setup-Wizard bei HTTPS auf HTTP umleiten MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Vor SSL-Zertifikaten schlägt Livewires AJAX über HTTPS fehl. mount() leitet automatisch auf http:// um damit der Wizard funktioniert. Co-Authored-By: Claude Sonnet 4.6 --- app/Livewire/Setup/Wizard.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Livewire/Setup/Wizard.php b/app/Livewire/Setup/Wizard.php index c5a4b60..9827ff7 100644 --- a/app/Livewire/Setup/Wizard.php +++ b/app/Livewire/Setup/Wizard.php @@ -47,6 +47,11 @@ class Wizard extends Component public function mount(): void { + if (request()->secure()) { + redirect()->to('http://' . request()->getHttpHost() . '/setup')->send(); + exit; + } + $this->instance_name = config('app.name', 'Mailwolt'); try { $this->timezone = Setting::get('timezone', 'Europe/Berlin');