chore(scripts/generate-bootstraps.sh): Use Cloudflare proxy

Should speed up downloads and also reduce situations where downloads
simply have to wait for timeout to happen (I have no idea why this
happens, probably nginx trying to cooldown some requests to prevent
(D)DoS?)
This commit is contained in:
Yaksh Bariya 2022-04-28 15:17:07 +05:30
parent 5edddd95c0
commit e907a4d073
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -23,7 +23,7 @@ TERMUX_PACKAGE_MANAGERS=("apt" "pacman")
# The repository base urls mapping for package managers.
declare -A REPO_BASE_URLS=(
["apt"]="https://packages.termux.org/apt/termux-main"
["apt"]="https://packages-cf.termux.org/apt/termux-main"
["pacman"]="https://s3.amazonaws.com/termux-main.pacman"
)