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(preview): sync isPreviewSuffixEnabled property on file storage save
Andras Bacsaic9861e08e359
diff --git a/app/Livewire/Project/Service/FileStorage.php b/app/Livewire/Project/Service/FileStorage.phpindex 33b32989ab..71da07eb00 100644--- a/app/Livewire/Project/Service/FileStorage.php+++ b/app/Livewire/Project/Service/FileStorage.php@@ -181,6 +181,7 @@ class FileStorage extends Component// Sync component properties to model$this->fileStorage->content = $this->content;$this->fileStorage->is_based_on_git = $this->isBasedOnGit;+ $this->fileStorage->is_preview_suffix_enabled = $this->isPreviewSuffixEnabled;$this->fileStorage->save();$this->fileStorage->saveStorageOnServer();$this->dispatch('success', 'File updated.');