main: replace CDN with githaven urls
This commit is contained in:
parent
6a268ce65b
commit
befd46b3dd
@ -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);
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user