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: Remove unnecessary code in Terminal.php
Andras Bacsai07ed726c88c6
diff --git a/app/Livewire/Project/Shared/Terminal.php b/app/Livewire/Project/Shared/Terminal.phpindex 7c23c291da..802e65a300 100644--- a/app/Livewire/Project/Shared/Terminal.php+++ b/app/Livewire/Project/Shared/Terminal.php@@ -14,13 +14,6 @@ class Terminal extends Component$server = Server::ownedByCurrentTeam()->whereUuid($serverUuid)->firstOrFail();- // if (auth()->user()) {- // $teams = auth()->user()->teams->pluck('id');- // if (! $teams->contains($server->team_id) && ! $teams->contains(0)) {- // throw new \Exception('User is not part of the team that owns this server');- // }- // }-if ($isContainer) {$status = getContainerStatus($server, $identifier);if ($status !== 'running') {