main: change CDN url paths

This commit is contained in:
Gary 2024-07-25 13:53:17 -07:00
parent 9e7591987c
commit 75e2a9f4c2
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ private function update()
} 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);

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"
DOCKER_VERSION="26.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 '"')
# Check if the OS is manjaro, if so, change it to arch