An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Fix wireNavigate on external links and url()->previous()
Andras Bacsai28cd582d6343
diff --git a/resources/views/errors/400.blade.php b/resources/views/errors/400.blade.phpindex cab9cdc49b..5f7386e440 100644--- a/resources/views/errors/400.blade.php+++ b/resources/views/errors/400.blade.php@@ -12,7 +12,7 @@</p>@endif<div class="flex items-center mt-10 gap-x-2">- <a href="{{ url()->previous() }}" {{ wireNavigate() }}>+ <a href="{{ url()->previous() }}"><x-forms.button>Go back</x-forms.button></a><a href="{{ route('dashboard') }}" {{ wireNavigate() }}>diff --git a/resources/views/errors/401.blade.php b/resources/views/errors/401.blade.phpindex 25548abd59..88257ed462 100644--- a/resources/views/errors/401.blade.php+++ b/resources/views/errors/401.blade.php@@ -6,7 +6,7 @@<p class="text-base leading-7 dark:text-neutral-400 text-black">You don't have permission to access this page.</p><div class="flex items-center mt-10 gap-x-2">- <a href="{{ url()->previous() }}" {{ wireNavigate() }}>+ <a href="{{ url()->previous() }}"><x-forms.button>Go back</x-forms.button></a><a href="{{ route('dashboard') }}" {{ wireNavigate() }}>diff --git a/resources/views/errors/402.blade.php b/resources/views/errors/402.blade.phpindex a263297d5f..cd3157588e 100644--- a/resources/views/errors/402.blade.php+++ b/resources/views/errors/402.blade.php@@ -5,7 +5,7 @@<p class="font-mono font-semibold text-7xl dark:text-warning">402</p><h1 class="mt-4 font-bold tracking-tight dark:text-white">Payment required.</h1><div class="flex items-center mt-10 gap-x-2">- <a href="{{ url()->previous() }}" {{ wireNavigate() }}>+ <a href="{{ url()->previous() }}"><x-forms.button>Go back</x-forms.button></a><a href="{{ route('dashboard') }}" {{ wireNavigate() }}>diff --git a/resources/views/errors/403.blade.php b/resources/views/errors/403.blade.phpindex 884a36194a..b2410b6f44 100644--- a/resources/views/errors/403.blade.php+++ b/resources/views/errors/403.blade.php@@ -6,7 +6,7 @@<p class="text-base leading-7 dark:text-neutral-400 text-black">You don't have permission to access this page.</p><div class="flex items-center mt-10 gap-x-2">- <a href="{{ url()->previous() }}" {{ wireNavigate() }}>+ <a href="{{ url()->previous() }}"><x-forms.button>Go back</x-forms.button></a><a href="{{ route('dashboard') }}" {{ wireNavigate() }}>diff --git a/resources/views/errors/404.blade.php b/resources/views/errors/404.blade.phpindex e1e8f7fbc9..11ae19ca03 100644--- a/resources/views/errors/404.blade.php+++ b/resources/views/errors/404.blade.php@@ -7,7 +7,7 @@for.</p><div class="flex items-center mt-10 gap-x-2">- <a href="{{ url()->previous() }}" {{ wireNavigate() }}>+ <a href="{{ url()->previous() }}"><x-forms.button>Go back</x-forms.button></a><a href="{{ route('dashboard') }}" {{ wireNavigate() }}>diff --git a/resources/views/errors/419.blade.php b/resources/views/errors/419.blade.phpindex 137d218730..e7cd3fc457 100644--- a/resources/views/errors/419.blade.php+++ b/resources/views/errors/419.blade.php@@ -7,7 +7,7 @@for.</p><div class="flex items-center mt-10 gap-x-2">- <a href="{{ url()->previous() }}" {{ wireNavigate() }}>+ <a href="{{ url()->previous() }}"><x-forms.button>Go back</x-forms.button></a><a href="{{ route('dashboard') }}" {{ wireNavigate() }}>diff --git a/resources/views/errors/429.blade.php b/resources/views/errors/429.blade.phpindex 1aaa7027bd..23d5b2f93f 100644--- a/resources/views/errors/429.blade.php+++ b/resources/views/errors/429.blade.php@@ -8,7 +8,7 @@seconds before trying again.</p><div class="flex items-center mt-10 gap-x-2">- <a href="{{ url()->previous() }}" {{ wireNavigate() }}>+ <a href="{{ url()->previous() }}"><x-forms.button>Go back</x-forms.button></a><a href="{{ route('dashboard') }}" {{ wireNavigate() }}>diff --git a/resources/views/errors/500.blade.php b/resources/views/errors/500.blade.phpindex 42b8351ac4..96fff7bd25 100644--- a/resources/views/errors/500.blade.php+++ b/resources/views/errors/500.blade.php@@ -11,7 +11,7 @@</div>@endif<div class="flex items-center mt-10 gap-x-2">- <a href="{{ url()->previous() }}" {{ wireNavigate() }}>+ <a href="{{ url()->previous() }}"><x-forms.button>Go back</x-forms.button></a><a href="{{ route('dashboard') }}" {{ wireNavigate() }}>diff --git a/resources/views/errors/503.blade.php b/resources/views/errors/503.blade.phpindex 77a4df37cd..d13fcccf68 100644--- a/resources/views/errors/503.blade.php+++ b/resources/views/errors/503.blade.php@@ -8,7 +8,7 @@patience.</p><div class="flex items-center mt-10 gap-x-2">- <a href="{{ url()->previous() }}" {{ wireNavigate() }}>+ <a href="{{ url()->previous() }}"><x-forms.button>Go back</x-forms.button></a><a href="{{ route('dashboard') }}" {{ wireNavigate() }}>diff --git a/resources/views/livewire/project/database/keydb/general.blade.php b/resources/views/livewire/project/database/keydb/general.blade.phpindex 045fdc5504..00c30edffc 100644--- a/resources/views/livewire/project/database/keydb/general.blade.php+++ b/resources/views/livewire/project/database/keydb/general.blade.php@@ -28,7 +28,7 @@</div>@endif<x-forms.input- helper="You can add custom docker run options that will be used when your container is started.<br>Note: Not all options are supported, as they could mess up Coolify's automation and could cause bad experience for users.<br><br>Check the <a class='underline dark:text-white' {{ wireNavigate() }} href='https://coolify.io/docs/knowledge-base/docker/custom-commands'>docs.</a>"+ helper="You can add custom docker run options that will be used when your container is started.<br>Note: Not all options are supported, as they could mess up Coolify's automation and could cause bad experience for users.<br><br>Check the <a class='underline dark:text-white' target='_blank' href='https://coolify.io/docs/knowledge-base/docker/custom-commands'>docs.</a>"placeholder="--cap-add SYS_ADMIN --device=/dev/fuse --security-opt apparmor:unconfined --ulimit nofile=1024:1024 --tmpfs /run:rw,noexec,nosuid,size=65536k"id="customDockerRunOptions" label="Custom Docker Options" canGate="update" :canResource="$database" /><div class="flex flex-col gap-2">diff --git a/resources/views/livewire/project/database/mysql/general.blade.php b/resources/views/livewire/project/database/mysql/general.blade.phpindex d7dd4cbb02..8187878e45 100644--- a/resources/views/livewire/project/database/mysql/general.blade.php+++ b/resources/views/livewire/project/database/mysql/general.blade.php@@ -46,7 +46,7 @@@endif<div class="pt-2"><x-forms.input- helper="You can add custom docker run options that will be used when your container is started.<br>Note: Not all options are supported, as they could mess up Coolify's automation and could cause bad experience for users.<br><br>Check the <a class='underline dark:text-white' {{ wireNavigate() }} href='https://coolify.io/docs/knowledge-base/docker/custom-commands'>docs.</a>"+ helper="You can add custom docker run options that will be used when your container is started.<br>Note: Not all options are supported, as they could mess up Coolify's automation and could cause bad experience for users.<br><br>Check the <a class='underline dark:text-white' target='_blank' href='https://coolify.io/docs/knowledge-base/docker/custom-commands'>docs.</a>"placeholder="--cap-add SYS_ADMIN --device=/dev/fuse --security-opt apparmor:unconfined --ulimit nofile=1024:1024 --tmpfs /run:rw,noexec,nosuid,size=65536k"id="customDockerRunOptions" label="Custom Docker Options" canGate="update" :canResource="$database" /></div>diff --git a/resources/views/livewire/project/new/public-git-repository.blade.php b/resources/views/livewire/project/new/public-git-repository.blade.phpindex 7e604ccae0..02489719a9 100644--- a/resources/views/livewire/project/new/public-git-repository.blade.php+++ b/resources/views/livewire/project/new/public-git-repository.blade.php@@ -13,7 +13,7 @@</x-forms.button></div><div>- For example application deployments, checkout <a class="underline dark:text-white" {{ wireNavigate() }}+ For example application deployments, checkout <a class="underline dark:text-white"href="https://github.com/coollabsio/coolify-examples/" target="_blank">CoolifyExamples</a>.</div>diff --git a/resources/views/livewire/project/service/stack-form.blade.php b/resources/views/livewire/project/service/stack-form.blade.phpindex 1da3878e6b..8972345bca 100644--- a/resources/views/livewire/project/service/stack-form.blade.php+++ b/resources/views/livewire/project/service/stack-form.blade.php@@ -23,7 +23,7 @@<div class="w-96"><x-forms.checkbox canGate="update" :canResource="$service" instantSave id="connectToDockerNetwork"label="Connect To Predefined Network"- helper="By default, you do not reach the Coolify defined networks.<br>Starting a docker compose based resource will have an internal network. <br>If you connect to a Coolify defined network, you maybe need to use different internal DNS names to connect to a resource.<br><br>For more information, check <a class='underline dark:text-white' {{ wireNavigate() }} target='_blank' href='https://coolify.io/docs/knowledge-base/docker/compose#connect-to-predefined-networks'>this</a>." />+ helper="By default, you do not reach the Coolify defined networks.<br>Starting a docker compose based resource will have an internal network. <br>If you connect to a Coolify defined network, you maybe need to use different internal DNS names to connect to a resource.<br><br>For more information, check <a class='underline dark:text-white' target='_blank' href='https://coolify.io/docs/knowledge-base/docker/compose#connect-to-predefined-networks'>this</a>." /></div>@if ($fields->count() > 0)<div>diff --git a/resources/views/livewire/project/shared/health-checks.blade.php b/resources/views/livewire/project/shared/health-checks.blade.phpindex 19de1c88c9..730353c874 100644--- a/resources/views/livewire/project/shared/health-checks.blade.php+++ b/resources/views/livewire/project/shared/health-checks.blade.php@@ -5,7 +5,7 @@@if (!$healthCheckEnabled)<x-modal-confirmation title="Confirm Healthcheck Enable?" buttonTitle="Enable Healthcheck"submitAction="toggleHealthcheck" :actions="['Enable healthcheck for this resource.']"- warningMessage="If the health check fails, your application will become inaccessible. Please review the <a {{ wireNavigate() }} href='https://coolify.io/docs/knowledge-base/health-checks' target='_blank' class='underline text-white'>Health Checks</a> guide before proceeding!"+ warningMessage="If the health check fails, your application will become inaccessible. Please review the <a href='https://coolify.io/docs/knowledge-base/health-checks' target='_blank' class='underline text-white'>Health Checks</a> guide before proceeding!"step2ButtonText="Enable Healthcheck" :confirmWithText="false" :confirmWithPassword="false"isHighlightedButton></x-modal-confirmation>