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
merge next
Andras Bacsai40f88c00134a
diff --git a/app/Livewire/Project/Application/General.php b/app/Livewire/Project/Application/General.phpindex 7d3d64beeb..16733a298d 100644--- a/app/Livewire/Project/Application/General.php+++ b/app/Livewire/Project/Application/General.php@@ -622,6 +622,7 @@ class General extends Componentpublic function updatedBuildPack(){+ $originalBuildPack = $this->application->getOriginal('build_pack');// Check if user has permission to updatetry {$this->authorize('update', $this->application);diff --git a/app/Models/Application.php b/app/Models/Application.phpindex c2ba6e7735..306c9bd7a2 100644--- a/app/Models/Application.php+++ b/app/Models/Application.php@@ -188,16 +188,13 @@ class Application extends BaseModel// Remove SERVICE_FQDN_* and SERVICE_URL_* environment variables$application->environment_variables()- ->where(function ($q) {- $q->where('key', 'LIKE', 'SERVICE_FQDN_%')- ->orWhere('key', 'LIKE', 'SERVICE_URL_%');- })+ ->where('key', 'LIKE', 'SERVICE_FQDN_%')+ ->orWhere('key', 'LIKE', 'SERVICE_URL_%')->delete();+$application->environment_variables_preview()- ->where(function ($q) {- $q->where('key', 'LIKE', 'SERVICE_FQDN_%')- ->orWhere('key', 'LIKE', 'SERVICE_URL_%');- })+ ->where('key', 'LIKE', 'SERVICE_FQDN_%')+ ->orWhere('key', 'LIKE', 'SERVICE_URL_%')->delete();}