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(logs): remove unused methods and debug functionality from Logs.php for cleaner code
Andras Bacsaid47d2f14f73a
diff --git a/app/Livewire/Project/Shared/Logs.php b/app/Livewire/Project/Shared/Logs.phpindex 0629e9787c..6c4aadd392 100644--- a/app/Livewire/Project/Shared/Logs.php+++ b/app/Livewire/Project/Shared/Logs.php@@ -96,34 +96,6 @@ class Logs extends Component}}- public function getServerContainers($serverId)- {- return $this->serverContainers[$serverId] ?? [];- }-- public function hasContainersForServer($serverId)- {- return isset($this->serverContainers[$serverId]) && count($this->serverContainers[$serverId]) > 0;- }-- public function debugContainers()- {- ray([- 'containersLoaded' => $this->containersLoaded,- 'serversCount' => $this->servers->count(),- 'serverContainers' => $this->serverContainers,- 'servers' => $this->servers->map(fn ($s) => ['id' => $s->id, 'name' => $s->name, 'functional' => $s->isFunctional()])->toArray(),- ]);- }-- public function loadContainers($server_id = null)- {- // Keep for backward compatibility, but redirect to loadAllContainers- if (! $this->containersLoaded) {- $this->loadAllContainers();- }- }-public function mount(){try {