Feat: New cf tunnel install flow

This commit is contained in:
peaklabs-dev
2024-09-12 15:50:22 +02:00
parent 0d3d5f40fd
commit 9310af0301
3 changed files with 55 additions and 53 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.');
}
}