mirror of
https://github.com/tiennm99/coolify.git
synced 2026-07-03 15:19:10 +00:00
Merge remote-tracking branch 'origin/next' into 7765-healthcheck-investigation
This commit is contained in:
@@ -290,9 +290,12 @@ class ServersController extends Controller
|
||||
}
|
||||
$uuid = $request->get('uuid');
|
||||
if ($uuid) {
|
||||
$domains = Application::getDomainsByUuid($uuid);
|
||||
$application = Application::ownedByCurrentTeamAPI($teamId)->where('uuid', $uuid)->first();
|
||||
if (! $application) {
|
||||
return response()->json(['message' => 'Application not found.'], 404);
|
||||
}
|
||||
|
||||
return response()->json(serializeApiResponse($domains));
|
||||
return response()->json(serializeApiResponse($application->fqdns));
|
||||
}
|
||||
$projects = Project::where('team_id', $teamId)->get();
|
||||
$domains = collect();
|
||||
|
||||
Reference in New Issue
Block a user