feat: add cloudflare tunnel support

This commit is contained in:
Andras Bacsai
2023-09-23 13:34:40 +02:00
parent 19111ba059
commit c46eeac4b5
8 changed files with 77 additions and 16 deletions

View File

@@ -41,6 +41,10 @@
<x-forms.input type="number" id="server.port" label="Port" required />
</div>
</div>
<div class="w-64">
<x-forms.checkbox instantSave helper="If you are using Cloudflare Tunnels, enable this"
id="server.settings.is_cloudflare_tunnel" label="Cloudflare Tunnel" />
</div>
</div>
@if (!$server->settings->is_reachable)
<x-forms.button class="mt-8 mb-4 box" wire:click.prevent='validateServer'>