fix: server validation with cf tunnels

This commit is contained in:
Andras Bacsai
2023-09-24 10:48:54 +02:00
parent db3148c080
commit 92a53a151e
5 changed files with 29 additions and 27 deletions

View File

@@ -7,11 +7,11 @@
</p>
</x-slot:modalBody>
</x-modal>
@if (is_null(data_get($server, 'proxy.type')) || data_get($server, 'proxy.type') !== 'NONE')
@if ($server->isFunctional() && data_get($server, 'proxy.type') !== 'NONE')
@if (data_get($server, 'proxy.status') !== 'exited')
<div class="flex gap-4">
<button>
<a target="_blank" href="http://{{$server->ip}}:8080">
<a target="_blank" href="http://{{ $server->ip }}:8080">
Traefik Dashboard
<x-external-link />
</a>