We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cafbb9 commit ec60f66Copy full SHA for ec60f66
crates/compiler/src/asset_loader/builtin.rs
@@ -35,7 +35,7 @@ pub struct DefaultAssetLoader {
35
impl DefaultAssetLoader {
36
pub fn new(root_directory: impl Into<PathBuf>) -> Self {
37
DefaultAssetLoader {
38
- 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(),
39
root_directory: root_directory.into(),
40
}
41
0 commit comments