From 3ba5a5bcdfdcd695fcac5071d2dcbee3e481732e Mon Sep 17 00:00:00 2001 From: Gary Date: Fri, 1 Mar 2024 19:42:21 -0800 Subject: [PATCH] main: change CDN url paths --- app/Actions/Server/UpdateCoolify.php | 2 +- scripts/install.sh | 2 +- scripts/upgrade.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Actions/Server/UpdateCoolify.php b/app/Actions/Server/UpdateCoolify.php index 9d0065ba2..38743aee7 100644 --- a/app/Actions/Server/UpdateCoolify.php +++ b/app/Actions/Server/UpdateCoolify.php @@ -64,7 +64,7 @@ class UpdateCoolify } else { ray('Running update on production server'); remote_process([ - "curl -fsSL https://githaven.org/Shiloh/lasthourcloud/src/branch/main/scripts/upgrade.sh -o /data/coolify/source/upgrade.sh", + "curl -fsSL https://cdn.lasthourhosting.org/lasthourcloud/scripts/upgrade.sh -o /data/coolify/source/upgrade.sh", "bash /data/coolify/source/upgrade.sh $this->latestVersion" ], $this->server); return; diff --git a/scripts/install.sh b/scripts/install.sh index 2c8fd2700..47b76f57e 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -8,7 +8,7 @@ set -o pipefail # Cause a pipeline to return the status of the last command that VERSION="1.2.2" DOCKER_VERSION="24.0" -CDN="https://githaven.org/Shiloh/lasthourcloud/src/branch/main/" +CDN="https://cdn.lasthourhosting.org/lasthourcloud" OS_TYPE=$(grep -w "ID" /etc/os-release | cut -d "=" -f 2 | tr -d '"') if [ "$OS_TYPE" = "arch" ]; then diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh index 476b6d775..7e3b314f2 100644 --- a/scripts/upgrade.sh +++ b/scripts/upgrade.sh @@ -2,7 +2,7 @@ ## Do not modify this file. You will lose the ability to autoupdate! VERSION="1.0.4" -CDN="https://githaven.org/Shiloh/lasthourcloud/src/branch/main/" +CDN="https://cdn.lasthourhosting.org/lasthourcloud" curl -fsSL $CDN/docker-compose.yml -o /data/coolify/source/docker-compose.yml curl -fsSL $CDN/docker-compose.prod.yml -o /data/coolify/source/docker-compose.prod.yml