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
version++ and fix private key saving
Andras Bacsai0eab7f78ff6f
diff --git a/app/Models/PrivateKey.php b/app/Models/PrivateKey.phpindex fab1f1de7a..80015d87f8 100644--- a/app/Models/PrivateKey.php+++ b/app/Models/PrivateKey.php@@ -219,15 +219,14 @@ class PrivateKey extends BaseModelprivate static function fingerprintExists($fingerprint, $excludeId = null){$query = self::query()- ->where('fingerprint', $fingerprint);+ ->where('fingerprint', $fingerprint)+ ->where('id', '!=', $excludeId);if (currentTeam()) {$query->where('team_id', currentTeam()->id);}- return $query- ->when($excludeId, fn ($query) => $query->where('id', '!=', $excludeId))- ->exists();+ return $query->exists();}public static function cleanupUnusedKeys()diff --git a/config/constants.php b/config/constants.phpindex 364381cefb..363cdd14f3 100644--- a/config/constants.php+++ b/config/constants.php@@ -2,7 +2,7 @@return ['coolify' => [- 'version' => '4.0.0-beta.369',+ 'version' => '4.0.0-beta.370','self_hosted' => env('SELF_HOSTED', true),'autoupdate' => env('AUTOUPDATE'),'base_config_path' => env('BASE_CONFIG_PATH', '/data/coolify'),diff --git a/config/version.php b/config/version.phpindex 00330af8bb..64226ac056 100644--- a/config/version.php+++ b/config/version.php@@ -1,3 +1,3 @@<?php-return '4.0.0-beta.369';+return '4.0.0-beta.370';diff --git a/versions.json b/versions.jsonindex 3bca83c162..6c7bd32048 100644--- a/versions.json+++ b/versions.json@@ -1,10 +1,10 @@{"coolify": {"v4": {- "version": "4.0.0-beta.369"+ "version": "4.0.0-beta.370"},"nightly": {- "version": "4.0.0-beta.370"+ "version": "4.0.0-beta.371"},"helper": {"version": "1.0.4"@@ -16,4 +16,4 @@"version": "0.0.15"}}-}+}\ No newline at end of file