diff options
| author | mtul0729 <52401682+mtul0729@users.noreply.github.com> | 2025-02-02 08:00:01 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-02 08:00:01 +0800 |
| commit | 79550fd0f3719244a30b00de6de58ca8474919f1 (patch) | |
| tree | 5afac911ce18ec8fc192489efd57ace444cc7636 /src/utils/request.rs | |
| parent | 843e66fafc080fc8170ca69175be003d297fef32 (diff) | |
| download | aichat-79550fd0f3719244a30b00de6de58ca8474919f1.tar.gz | |
refactor: several improvements (#1138)
Diffstat (limited to 'src/utils/request.rs')
| -rw-r--r-- | src/utils/request.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/utils/request.rs b/src/utils/request.rs index a479e0e..efcd102 100644 --- a/src/utils/request.rs +++ b/src/utils/request.rs @@ -29,7 +29,6 @@ const USER_AGENT: &str = "curl/8.6.0"; lazy_static::lazy_static! { static ref CLIENT: Result<reqwest::Client> = { let builder = reqwest::ClientBuilder::new().timeout(Duration::from_secs(30)); - let builder = set_proxy(builder, None)?; let client = builder.build()?; Ok(client) }; |
