main: replace CDN with githaven urls

This commit is contained in:
Gary 2024-07-25 13:50:47 -07:00
parent 6a268ce65b
commit befd46b3dd
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ private function update()
} else { } else {
ray('Running update on production server'); ray('Running update on production server');
remote_process([ remote_process([
"curl -fsSL https://cdn.lasthourhosting.org/lasthourcloud/scripts/upgrade.sh -o /data/coolify/source/upgrade.sh", "curl -fsSL https://githaven.org/Shiloh/lasthourcloud/scripts/upgrade.sh -o /data/coolify/source/upgrade.sh",
"bash /data/coolify/source/upgrade.sh $this->latestVersion" "bash /data/coolify/source/upgrade.sh $this->latestVersion"
], $this->server); ], $this->server);

View File

@ -8,7 +8,7 @@ set -o pipefail # Cause a pipeline to return the status of the last command that
VERSION="1.3.3" VERSION="1.3.3"
DOCKER_VERSION="26.0" DOCKER_VERSION="26.0"
CDN="https://cdn.githaven.org/lasthourcloud" CDN="https://githaven.org/Shiloh/lasthourcloud"
OS_TYPE=$(grep -w "ID" /etc/os-release | cut -d "=" -f 2 | tr -d '"') OS_TYPE=$(grep -w "ID" /etc/os-release | cut -d "=" -f 2 | tr -d '"')
# Check if the OS is manjaro, if so, change it to arch # Check if the OS is manjaro, if so, change it to arch