From e907a4d073abc8d3a5a356bef66894f7e808ca81 Mon Sep 17 00:00:00 2001 From: Yaksh Bariya Date: Thu, 28 Apr 2022 15:17:07 +0530 Subject: [PATCH] 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?) --- scripts/generate-bootstraps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate-bootstraps.sh b/scripts/generate-bootstraps.sh index ae5733cfc..a87d683a1 100755 --- a/scripts/generate-bootstraps.sh +++ b/scripts/generate-bootstraps.sh @@ -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" )