This commit is contained in:
Andras Bacsai
2023-06-16 11:01:27 +02:00
parent 2b8467e6a1
commit 2c3ddfd363
14 changed files with 35 additions and 18 deletions

View File

@@ -4,7 +4,7 @@
<div class="flex gap-2">
<h2>General</h2>
<x-forms.button type="submit">Save</x-forms.button>
@if ($server->id !== 0 || config('app.env') === 'local')
@if ($server->id !== 0 || isDev())
<x-forms.button x-on:click.prevent="deleteServer = true">
Delete
</x-forms.button>

View File

@@ -12,7 +12,7 @@
<li>
<a target="_blank"
class="text-xs text-white rounded-none hover:no-underline hover:bg-coollabs"
href="http://{{ request()->getHost() }}:8080">
href="{{ base_url(withPort: false) }}:8080">
Traefik Dashboard
<x-external-link />
</a>