Skip to content

Commit

Permalink
Another patch
Browse files Browse the repository at this point in the history
  • Loading branch information
kthakore authored and saidinesh5 committed Jun 13, 2022
1 parent 3cafbb9 commit ec60f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/compiler/src/asset_loader/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub struct DefaultAssetLoader {
impl DefaultAssetLoader {
pub fn new(root_directory: impl Into<PathBuf>) -> Self {
DefaultAssetLoader {
client: Client::builder().danger_accept_invalid_certs(true).build()?,
client: Client::builder().danger_accept_invalid_certs(true).build().or::<reqwest::Client>(Ok(Client::new())).unwrap(),
root_directory: root_directory.into(),
}
}
Expand Down

0 comments on commit ec60f66

Please sign in to comment.