Skip to content

Commit ec60f66

Browse files
kthakoresaidinesh5
authored andcommitted
Another patch
1 parent 3cafbb9 commit ec60f66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/compiler/src/asset_loader/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub struct DefaultAssetLoader {
3535
impl DefaultAssetLoader {
3636
pub fn new(root_directory: impl Into<PathBuf>) -> Self {
3737
DefaultAssetLoader {
38-
client: Client::builder().danger_accept_invalid_certs(true).build()?,
38+
client: Client::builder().danger_accept_invalid_certs(true).build().or::<reqwest::Client>(Ok(Client::new())).unwrap(),
3939
root_directory: root_directory.into(),
4040
}
4141
}

0 commit comments

Comments
 (0)