Fix: Setup-Wizard bei HTTPS auf HTTP umleiten
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 <noreply@anthropic.com>main
parent
31f486c753
commit
0b415c6862
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue