diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-08-10 13:19:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-10 13:19:45 +0200 |
commit | b9a8111a00b58e355baf60a55893dbfc70b0dfdd (patch) | |
tree | 99f88f95143ddeaa11f77dd80dccacb03f6d5270 /cli/standalone.rs | |
parent | 465cf9a6fe2d77f4c3cdaeb8eea60bd2b8697608 (diff) |
refactor: --unsafely-ignore-certificate-errors (#11629)
Diffstat (limited to 'cli/standalone.rs')
-rw-r--r-- | cli/standalone.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/standalone.rs b/cli/standalone.rs index ded3c88e8..013e2e60f 100644 --- a/cli/standalone.rs +++ b/cli/standalone.rs @@ -57,7 +57,7 @@ pub struct Metadata { pub log_level: Option<Level>, pub ca_stores: Option<Vec<String>>, pub ca_data: Option<Vec<u8>>, - pub unsafely_treat_insecure_origin_as_secure: Option<Vec<String>>, + pub unsafely_ignore_certificate_errors: Option<Vec<String>>, } pub const MAGIC_TRAILER: &[u8; 8] = b"d3n0l4nd"; @@ -253,8 +253,8 @@ pub async fn run( debug_flag: metadata.log_level.map_or(false, |l| l == log::Level::Debug), user_agent: version::get_user_agent(), unstable: metadata.unstable, - unsafely_treat_insecure_origin_as_secure: metadata - .unsafely_treat_insecure_origin_as_secure, + unsafely_ignore_certificate_errors: metadata + .unsafely_ignore_certificate_errors, root_cert_store: Some(root_cert_store), seed: metadata.seed, js_error_create_fn: None, |