early return
This commit is contained in:
parent
294721eef9
commit
f5ccebfd41
@ -25,10 +25,10 @@ public function __construct()
|
||||
public function handle(): void
|
||||
{
|
||||
try {
|
||||
$server = Server::findOrFail(0);
|
||||
if (isDev() || isCloud()) {
|
||||
return;
|
||||
}
|
||||
$server = Server::findOrFail(0);
|
||||
$response = Http::retry(3, 1000)->get('https://cdn.coollabs.io/coolify/versions.json');
|
||||
if ($response->successful()) {
|
||||
$versions = $response->json();
|
||||
|
Loading…
Reference in New Issue
Block a user