working
This commit is contained in:
parent
bc3560f1f8
commit
23905877c7
3 changed files with 162 additions and 60 deletions
|
|
@ -43,7 +43,7 @@ pub fn choose_package_mirror() -> Option<String> {
|
|||
}
|
||||
}
|
||||
|
||||
fn fetch_mirrors() -> Result<Vec<String>, Box<dyn std::error::Error>> {
|
||||
pub fn fetch_mirrors() -> Result<Vec<String>, Box<dyn std::error::Error>> {
|
||||
let client = Client::new();
|
||||
let res = client
|
||||
.get("https://www.linuxfromscratch.org/lfs/mirrors.html#files")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue