Skip to content

Commit e71c43d

Browse files
Revert "feat: honor insecure-skip-verify env var"
This reverts commit 1f75f21.
1 parent 1f75f21 commit e71c43d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

api-client/src/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,6 @@ impl ShuttleApiClient {
6060
builder = builder.proxy(reqwest::Proxy::https(proxy).unwrap());
6161
}
6262

63-
if std::env::var("SHUTTLE_TLS_INSECURE_SKIP_VERIFY")
64-
.is_ok_and(|value| value == "1" || value == "true")
65-
{
66-
builder = builder.danger_accept_invalid_certs(true);
67-
}
68-
6963
if let Some(headers) = headers {
7064
builder = builder.default_headers(headers);
7165
}

0 commit comments

Comments
 (0)