Fix styling

This commit is contained in:
andrasbacsai
2024-06-18 14:43:18 +00:00
committed by github-actions[bot]
parent 23ed697b98
commit ce15f8f1dd
8 changed files with 39 additions and 27 deletions

View File

@@ -163,6 +163,7 @@ function get_latest_sentinel_version(): string
try {
$response = Http::get('https://cdn.coollabs.io/coolify/versions.json');
$versions = $response->json();
return data_get($versions, 'coolify.sentinel.version');
} catch (\Throwable $e) {
//throw $e;
@@ -2285,7 +2286,9 @@ function isAnyDeploymentInprogress()
exit(0);
}
function generateSentinelToken() {
function generateSentinelToken()
{
$token = Str::random(64);
return $token;
}