An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
remove unused job
Andras Bacsai491b22858070
diff --git a/app/Jobs/PullVersionsFromCDN.php b/app/Jobs/PullVersionsFromCDN.phpdeleted file mode 100644index fd11facef1..0000000000--- a/app/Jobs/PullVersionsFromCDN.php+++ /dev/null@@ -1,34 +0,0 @@-<?php--namespace App\Jobs;--use Illuminate\Bus\Queueable;-use Illuminate\Contracts\Queue\ShouldBeEncrypted;-use Illuminate\Contracts\Queue\ShouldQueue;-use Illuminate\Foundation\Bus\Dispatchable;-use Illuminate\Queue\InteractsWithQueue;-use Illuminate\Queue\SerializesModels;-use Illuminate\Support\Facades\File;-use Illuminate\Support\Facades\Http;--class PullVersionsFromCDN implements ShouldBeEncrypted, ShouldQueue-{- use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;-- public $timeout = 10;-- public function __construct() {}-- public function handle(): void- {- if (! isDev() && ! isCloud()) {- $response = Http::retry(3, 1000)->get('https://cdn.coollabs.io/coolify/versions.json');- if ($response->successful()) {- $versions = $response->json();- File::put(base_path('versions.json'), json_encode($versions, JSON_PRETTY_PRINT));- } else {- send_internal_notification('PullTemplatesAndVersions failed with: '.$response->status().' '.$response->body());- }- }- }-}