Update version numbers and fix domain editing

This commit is contained in:
Andras Bacsai 2024-04-12 23:12:15 +02:00
parent 7c0e8d9421
commit d444211c68
5 changed files with 10 additions and 7 deletions

View File

@ -7,7 +7,7 @@
// The release version of your application // The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')) // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
'release' => '4.0.0-beta.257', 'release' => '4.0.0-beta.258',
// When left empty or `null` the Laravel environment will be used // When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'), 'environment' => config('app.env'),

View File

@ -1,3 +1,3 @@
<?php <?php
return '4.0.0-beta.257'; return '4.0.0-beta.258';

View File

@ -71,10 +71,12 @@
@endif @endif
@if ($application->fqdn) @if ($application->fqdn)
<span class="flex gap-1 text-xs">{{ Str::limit($application->fqdn, 60) }} <span class="flex gap-1 text-xs">{{ Str::limit($application->fqdn, 60) }}
<x-modal-input title="Edit Domains"> <x-modal-input wire:key="application-{{ $application->name }}"
title="Edit Domains">
<x-slot:content> <x-slot:content>
<span class="cursor-pointer"> <span class="cursor-pointer">
<svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 dark:text-warning text-coollabs" <svg xmlns="http://www.w3.org/2000/svg"
class="w-4 h-4 dark:text-warning text-coollabs"
viewBox="0 0 24 24"> viewBox="0 0 24 24">
<g fill="none" stroke="currentColor" <g fill="none" stroke="currentColor"
stroke-linecap="round" stroke-linejoin="round" stroke-linecap="round" stroke-linejoin="round"
@ -84,10 +86,10 @@
<path d="M9 7.07A7 7 0 0 0 10 21a7 7 0 0 0 6.929-6" /> <path d="M9 7.07A7 7 0 0 0 10 21a7 7 0 0 0 6.929-6" />
</g> </g>
</svg> </svg>
</span> </span>
</x-slot:content> </x-slot:content>
<livewire:project.service.edit-domain <livewire:project.service.edit-domain
wire:key="application-{{ $application->uuid }}"
applicationId="{{ $application->id }}" /> applicationId="{{ $application->id }}" />
</x-modal-input> </x-modal-input>
</span> </span>

View File

@ -1,5 +1,6 @@
<form wire:submit.prevent='submit' class="flex flex-col w-full gap-2"> <form wire:submit.prevent='submit' class="flex flex-col w-full gap-2">
<x-forms.input required placeholder="https://app.coolify.io" label="Domains" id="application.fqdn" <div class="pb-2">Note: If a service has a defined port, do not delete it. <br>If you want to use your custom domain, you can add it with a port.</div>
<x-forms.input required placeholder="https://app.coolify.io" label="Domains" id="application.fqdn"
helper="You can specify one domain with path or more with comma. You can specify a port to bind the domain to.<br><br><span class='text-helper'>Example</span><br>- http://app.coolify.io, https://cloud.coolify.io/dashboard<br>- http://app.coolify.io/api/v3<br>- http://app.coolify.io:3000 -> app.coolify.io will point to port 3000 inside the container. "></x-forms.input> helper="You can specify one domain with path or more with comma. You can specify a port to bind the domain to.<br><br><span class='text-helper'>Example</span><br>- http://app.coolify.io, https://cloud.coolify.io/dashboard<br>- http://app.coolify.io/api/v3<br>- http://app.coolify.io:3000 -> app.coolify.io will point to port 3000 inside the container. "></x-forms.input>
<x-forms.button type="submit">Save</x-forms.button> <x-forms.button type="submit">Save</x-forms.button>
</form> </form>

View File

@ -1,7 +1,7 @@
{ {
"coolify": { "coolify": {
"v4": { "v4": {
"version": "4.0.0-beta.257" "version": "4.0.0-beta.258"
} }
} }
} }