Skip to content

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.

Fix server form to dispatch 'proxyStatusUpdated' event when server is unreachable

Andras Bacsaic75d779f85bc
diff --git a/resources/views/livewire/server/proxy.blade.php b/resources/views/livewire/server/proxy.blade.php
index ee2edea728..a87b043d0d 100644
--- a/resources/views/livewire/server/proxy.blade.php
+++ b/resources/views/livewire/server/proxy.blade.php
@@ -5,7 +5,7 @@
<form wire:submit='submit'>
<div class="flex items-center gap-2">
<h2>Configuration</h2>
- @if ($server->proxy->status === 'exited')
+ @if ($server->proxy->status === 'exited' || $server->proxy->status === 'removing')
<x-forms.button wire:click.prevent="change_proxy">Switch Proxy</x-forms.button>
@else
<x-forms.button disabled wire:click.prevent="change_proxy">Switch Proxy</x-forms.button>