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
remove unnecessary data
Andras Bacsai26da4eadb0e8
diff --git a/app/Http/Controllers/ProjectController.php b/app/Http/Controllers/ProjectController.phpindex 465a658f5a..1a177a90b7 100644--- a/app/Http/Controllers/ProjectController.php+++ b/app/Http/Controllers/ProjectController.php@@ -43,66 +43,4 @@ class ProjectController extends Controller}return view('project.resources', ['project' => $project, 'environment' => $environment]);}-- public function application_configuration()- {- $project = session('currentTeam')->load(['projects'])->projects->where('uuid', request()->route('project_uuid'))->first();- if (!$project) {- return redirect()->route('dashboard');- }- $environment = $project->load(['environments'])->environments->where('name', request()->route('environment_name'))->first()->load(['applications']);- if (!$environment) {- return redirect()->route('dashboard');- }- $application = $environment->applications->where('uuid', request()->route('application_uuid'))->first();- if (!$application) {- return redirect()->route('dashboard');- }- return view('project.application.configuration', ['application' => $application]);- }- public function application_deployments()- {- $project = session('currentTeam')->load(['projects'])->projects->where('uuid', request()->route('project_uuid'))->first();- if (!$project) {- return redirect()->route('dashboard');- }- $environment = $project->load(['environments'])->environments->where('name', request()->route('environment_name'))->first()->load(['applications']);- if (!$environment) {- return redirect()->route('dashboard');- }- $application = $environment->applications->where('uuid', request()->route('application_uuid'))->first();- if (!$application) {- return redirect()->route('dashboard');- }- return view('project.application.deployments', ['application' => $application, 'deployments' => $application->deployments()]);- }-- public function application_deployment()- {- $deployment_uuid = request()->route('deployment_uuid');-- $project = session('currentTeam')->load(['projects'])->projects->where('uuid', request()->route('project_uuid'))->first();- if (!$project) {- return redirect()->route('dashboard');- }- $environment = $project->load(['environments'])->environments->where('name', request()->route('environment_name'))->first()->load(['applications']);- if (!$environment) {- return redirect()->route('dashboard');- }- $application = $environment->applications->where('uuid', request()->route('application_uuid'))->first();- if (!$application) {- return redirect()->route('dashboard');- }-- $activity = Activity::query()- ->where('properties->type', '=', 'deployment')- ->where('properties->uuid', '=', $deployment_uuid)- ->first();-- return view('project.application.deployment', [- 'application' => $application,- 'activity' => $activity,- 'deployment_uuid' => $deployment_uuid,- ]);- }}