mirror of https://github.com/termux/termux-app
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:
parent
e006e36dd0
commit
468185efb3
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue