feat: 移植忽略 SSL 证书错误选项(设置开关 + 重建 HTTP 客户端)
Axolotl desktop CI / guardrails (push) Has been cancelled
Axolotl desktop CI / desktop (macos-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (ubuntu-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (windows-latest) (push) Has been cancelled
Axolotl desktop CI / website (push) Has been cancelled
Repository checks / typos (push) Has been cancelled
Repository checks / tombi (push) Has been cancelled
Rust checks / shear (push) Has been cancelled
Sync source to CNB / Sync Git ref (push) Has been cancelled

This commit is contained in:
AxTps committed 2026-10-02 21:20:26 +08:00
1 parent d2c32ed14f
commit ead942abb2
9 files changed
+78 -6

No files matched your search

+5 -1
View File
@@ -1462,9 +1462,13 @@ pub fn build_proxied_client(
pub(crate) fn build_configured_client(
proxy: &crate::util::proxy::ProxyConfig,
ignore_ssl_errors: bool,
) -> crate::Result<reqwest::Client> {
proxy
.apply(reqwest_client_builder())?
.apply(
reqwest_client_builder()
.danger_accept_invalid_certs(ignore_ssl_errors),
)?
.build()
.map_err(Into::into)
}