Merge branch 'patricio-wip-11' into patricio-deploy-proxy
This commit is contained in:
@@ -57,7 +57,13 @@ class ApplicationController extends Controller
|
||||
return redirect()->route('dashboard');
|
||||
}
|
||||
$activity = Activity::where('properties->type_uuid', '=', $deployment_uuid)->first();
|
||||
|
||||
if (!$activity) {
|
||||
return redirect()->route('project.application.deployments', [
|
||||
'project_uuid' => $project->uuid,
|
||||
'environment_name' => $environment->name,
|
||||
'application_uuid' => $application->uuid,
|
||||
]);
|
||||
}
|
||||
return view('project.application.deployment', [
|
||||
'application' => $application,
|
||||
'activity' => $activity,
|
||||
|
||||
@@ -38,7 +38,7 @@ class PublicGitRepository extends Component
|
||||
];
|
||||
public function mount()
|
||||
{
|
||||
if (env('APP_ENV') === 'local') {
|
||||
if (config('app.env') === 'local') {
|
||||
$this->public_repository_url = 'https://github.com/coollabsio/coolify-examples/tree/nodejs-fastify';
|
||||
$this->port = 3000;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user