mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
wip
This commit is contained in:
1 parent
ffa8f40864
commit
97f0f34209
6 files changed
+15
-17
No files matched your search
@@ -13,6 +13,9 @@ class ProjectController extends Controller
|
||||
return redirect()->route('home');
|
||||
}
|
||||
$project->load(['environments']);
|
||||
if (count($project->environments) == 1) {
|
||||
return redirect()->route('project.resources', ['project_uuid' => $project->uuid, 'environment_name' => $project->environments->first()->name]);
|
||||
}
|
||||
return view('project.environments', ['project' => $project]);
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -4,7 +4,7 @@ namespace App\Http\Livewire\Application;
|
||||
|
||||
use Livewire\Component;
|
||||
|
||||
class Secrets extends Component
|
||||
class EnvironmentVariables extends Component
|
||||
{
|
||||
public array $secrets = [];
|
||||
public array $envs = [];
|
||||
}
|
||||
Reference in new issue
Block a user