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
refactor
Andras Bacsai92ebc3f0c60c
diff --git a/app/Livewire/Project/Service/Configuration.php b/app/Livewire/Project/Service/Configuration.phpindex 47534ded1e..c82012aaa0 100644--- a/app/Livewire/Project/Service/Configuration.php+++ b/app/Livewire/Project/Service/Configuration.php@@ -25,7 +25,6 @@ class Configuration extends Componentreturn ["echo-private:user.{$userId},ServiceStatusChanged" => 'check_status','check_status',- 'refresh' => '$refresh',];}@@ -76,8 +75,7 @@ class Configuration extends Component{try {GetContainersStatus::run($this->service->server);- // dispatch_sync(new ContainerStatusJob($this->service->server));- $this->dispatch('refresh')->self();+ $this->dispatch('$refresh');} catch (\Exception $e) {return handleError($e, $this);}diff --git a/app/Livewire/Server/Proxy/DynamicConfigurations.php b/app/Livewire/Server/Proxy/DynamicConfigurations.phpindex c858481dba..6277a24bd4 100644--- a/app/Livewire/Server/Proxy/DynamicConfigurations.php+++ b/app/Livewire/Server/Proxy/DynamicConfigurations.php@@ -21,7 +21,6 @@ class DynamicConfigurations extends Componentreturn ["echo-private:team.{$teamId},ProxyStatusChanged" => 'loadDynamicConfigurations','loadDynamicConfigurations',- 'refresh' => '$refresh',];}@@ -42,7 +41,7 @@ class DynamicConfigurations extends Component$contents[$without_extension] = instant_remote_process(["cat {$proxy_path}/dynamic/{$file}"], $this->server);}$this->contents = $contents;- $this->dispatch('refresh');+ $this->dispatch('$refresh');}public function mount()