main: replace CDN with githaven urls

This commit is contained in:
Gary 2024-03-01 18:43:19 -08:00
parent 35700ec24a
commit b7a408eac2
3 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ private function update()
} else {
ray('Running update on production server');
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"
], $this->server);
return;

View File

@ -8,7 +8,7 @@ set -o pipefail # Cause a pipeline to return the status of the last command that
VERSION="1.2.3"
DOCKER_VERSION="24.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 '"')
if [ "$OS_TYPE" = "arch" ]; then

View File

@ -2,7 +2,7 @@
## Do not modify this file. You will lose the ability to autoupdate!
VERSION="1.0.4"
CDN="https://cdn.githaven.org/lasthourcloud"
CDN="https://githaven.org/Shiloh/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