Merge branch 'cf-production-ready' into next

This commit is contained in:
peaklabs-dev
2024-09-23 18:50:08 +02:00
committed by GitHub
4 changed files with 67 additions and 72 deletions

View File

@@ -238,4 +238,12 @@ class Form extends Component
$this->server->settings->save();
$this->dispatch('success', 'Server timezone updated.');
}
public function manualCloudflareConfig()
{
$this->server->settings->is_cloudflare_tunnel = true;
$this->server->settings->save();
$this->server->refresh();
$this->dispatch('success', 'Cloudflare Tunnels enabled.');
}
}