This commit is contained in:
Andras Bacsai 2023-06-16 13:35:35 +02:00
parent 0123ae97a1
commit a0e229a489
4 changed files with 10 additions and 7 deletions

View File

@ -81,7 +81,10 @@ function set_transanctional_email_settings()
"local_domain" => null, "local_domain" => null,
]); ]);
} }
function base_ip() {
$settings = InstanceSettings::get();
return "http://{$settings->public_ipv4}"
}
function base_url(bool $withPort = true) function base_url(bool $withPort = true)
{ {
$settings = InstanceSettings::get(); $settings = InstanceSettings::get();

View File

@ -1,3 +1,3 @@
<?php <?php
return '4.0.0-nightly.17'; return '4.0.0-nightly.18';

View File

@ -3,7 +3,7 @@
@if ($server->extra_attributes->proxy_status === 'running') @if ($server->extra_attributes->proxy_status === 'running')
<div class="flex gap-4"> <div class="flex gap-4">
<div class="group"> <div class="group">
<label tabindex="0" class="flex items-center gap-2 cursor-pointer hover:text-white"> Links <label tabindex="0" class="flex items-center gap-2 cursor-pointer hover:text-white"> Links
<x-chevron-down /> <x-chevron-down />
</label> </label>
<div class="absolute hidden group-hover:block "> <div class="absolute hidden group-hover:block ">
@ -12,7 +12,7 @@
<li> <li>
<a target="_blank" <a target="_blank"
class="text-xs text-white rounded-none hover:no-underline hover:bg-coollabs" class="text-xs text-white rounded-none hover:no-underline hover:bg-coollabs"
href="{{ base_url(withPort: false) }}:8080"> href="{{ base_ip() }}:8080">
Traefik Dashboard Traefik Dashboard
<x-external-link /> <x-external-link />
</a> </a>
@ -57,7 +57,7 @@
</div> </div>
</div> </div>
@else @else
<button wire:click='deploy' class="flex items-center gap-2 cursor-pointer hover:text-white"> <svg <button wire:click='deploy' class="flex items-center gap-2 cursor-pointer hover:text-white"> <svg
xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" viewBox="0 0 24 24" stroke-width="1.5" xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" viewBox="0 0 24 24" stroke-width="1.5"
stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path stroke="none" d="M0 0h24v24H0z" fill="none" />

View File

@ -1,10 +1,10 @@
{ {
"coolify": { "coolify": {
"main": { "main": {
"version": "3.12.31" "version": "3.12.32"
}, },
"v4": { "v4": {
"version": "4.0.0-nightly.17" "version": "4.0.0-nightly.18"
} }
} }
} }