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
Improve service-templates.json file readability
Lucas Michot91a1fdcb9a77
diff --git a/app/Console/Commands/ServicesGenerate.php b/app/Console/Commands/ServicesGenerate.phpindex da04cefcea..9720e81ac9 100644--- a/app/Console/Commands/ServicesGenerate.php+++ b/app/Console/Commands/ServicesGenerate.php@@ -39,8 +39,8 @@ class ServicesGenerate extends Command$serviceTemplatesJson[$name] = $parsed;}}- $serviceTemplatesJson = json_encode($serviceTemplatesJson);- file_put_contents(base_path('templates/service-templates.json'), $serviceTemplatesJson);+ $serviceTemplatesJson = json_encode($serviceTemplatesJson, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);+ file_put_contents(base_path('templates/service-templates.json'), $serviceTemplatesJson.PHP_EOL);}private function process_file($file)