diff --git a/app/Console/Commands/SyncBunny.php b/app/Console/Commands/SyncBunny.php
index f9b53b57c..a06d515fc 100644
--- a/app/Console/Commands/SyncBunny.php
+++ b/app/Console/Commands/SyncBunny.php
@@ -41,6 +41,8 @@ public function handle()
$docker_install_script = "install-docker.sh";
$production_env = ".env.production";
+ $versions = "versions.json";
+
PendingRequest::macro('storage', function ($file) {
$headers = [
'AccessKey' => env('BUNNY_STORAGE_API_KEY'),
@@ -68,6 +70,7 @@ public function handle()
$pool->storage(file: "$parent_dir/scripts/$upgrade_script")->put("/$bunny_cdn_storage_name/$bunny_cdn_path/$upgrade_script"),
$pool->storage(file: "$parent_dir/scripts/$install_script")->put("/$bunny_cdn_storage_name/$bunny_cdn_path/$install_script"),
$pool->storage(file: "$parent_dir/scripts/$docker_install_script")->put("/$bunny_cdn_storage_name/$bunny_cdn_path/$docker_install_script"),
+ $pool->storage(file: "$parent_dir/$versions")->put("/$bunny_cdn_storage_name/$versions"),
]);
Http::pool(fn (Pool $pool) => [
$pool->purge(url: "$bunny_cdn/$bunny_cdn_path/$compose_file"),
@@ -76,6 +79,7 @@ public function handle()
$pool->purge(url: "$bunny_cdn/$bunny_cdn_path/$upgrade_script"),
$pool->purge(url: "$bunny_cdn/$bunny_cdn_path/$install_script"),
$pool->purge(url: "$bunny_cdn/$bunny_cdn_path/$docker_install_script"),
+ $pool->purge(url: "$bunny_cdn/$versions"),
]);
echo "All files uploaded & purged...\n";
return;
diff --git a/bootstrap/helpers.php b/bootstrap/helpers.php
index aecb5d879..6090a49c2 100644
--- a/bootstrap/helpers.php
+++ b/bootstrap/helpers.php
@@ -177,7 +177,7 @@ function instantRemoteProcess(array $command, Server $server, $throwError = true
if (!function_exists('getLatestVersionOfCoolify')) {
function getLatestVersionOfCoolify()
{
- $response = Http::get('https://get.coollabs.io/versions.json');
+ $response = Http::get('https://coolify-cdn.b-cdn.net/versions.json');
$versions = $response->json();
return data_get($versions, 'coolify.v4.version');
}
diff --git a/resources/js/components/MagicSearchBar.vue b/resources/js/components/MagicSearchBar.vue
deleted file mode 100644
index b8bfbd757..000000000
--- a/resources/js/components/MagicSearchBar.vue
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
diff --git a/versions.json b/versions.json
new file mode 100644
index 000000000..7485baf30
--- /dev/null
+++ b/versions.json
@@ -0,0 +1,10 @@
+{
+ "coolify": {
+ "main": {
+ "version": "3.12.31"
+ },
+ "v4": {
+ "version": "4.0.0-nightly.3"
+ }
+ }
+}