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
Andras Bacsai3b8fb073f43e
diff --git a/app/Http/Livewire/Project/New/GithubPrivateRepositoryDeployKey.php b/app/Http/Livewire/Project/New/GithubPrivateRepositoryDeployKey.phpindex 428d6d9816..8f8611c4da 100644--- a/app/Http/Livewire/Project/New/GithubPrivateRepositoryDeployKey.php+++ b/app/Http/Livewire/Project/New/GithubPrivateRepositoryDeployKey.php@@ -55,7 +55,7 @@ class GithubPrivateRepositoryDeployKey extends Component}$this->parameters = getRouteParameters();$this->query = request()->query();- $this->private_keys = PrivateKey::where('team_id', session('currentTeam')->id)->get();+ $this->private_keys = PrivateKey::where('team_id', session('currentTeam')->id)->where('id', '!=', 0)->get();}public function instantSave(){diff --git a/routes/web.php b/routes/web.phpindex 61abd0e8df..ade3523981 100644--- a/routes/web.php+++ b/routes/web.php@@ -74,7 +74,7 @@ Route::middleware(['auth'])->group(function () {]))->name('server.proxy');Route::get('/server/{server_uuid}/private-key', fn () => view('server.private-key', ['server' => Server::ownedByCurrentTeam()->whereUuid(request()->server_uuid)->firstOrFail(),- 'privateKeys' => PrivateKey::ownedByCurrentTeam()->get(),+ 'privateKeys' => PrivateKey::ownedByCurrentTeam()->where('id', '!=', 0)->get(),]))->name('server.private-key');Route::get('/server/{server_uuid}/destinations', fn () => view('server.destinations', ['server' => Server::ownedByCurrentTeam(['name'])->whereUuid(request()->server_uuid)->firstOrFail()