mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-07 03:05:18 +08:00
Transition to https://termux.net for bootstrap
The initial bootstrap zip was previously downloaded from http://apt.termux.com, which lacked security and was not behind a CDN. By moving to https://termux.net we improve security (as it's https) and reliability (as it's using a CDN). Fixes https://github.com/termux/termux-packages/issues/89.
This commit is contained in:
@@ -185,7 +185,7 @@ final class TermuxInstaller {
|
||||
} else if (arch.equals("x86_64")) {
|
||||
arch = "i686";
|
||||
}
|
||||
return new URL("http://apt.termux.com/bootstrap/bootstrap-" + arch + ".zip");
|
||||
return new URL("https://termux.net/bootstrap/bootstrap-" + arch + ".zip");
|
||||
}
|
||||
|
||||
/** Delete a folder and all its content or throw. */
|
||||
|
Reference in New Issue
Block a user