mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-12-13 17:22:58 +01:00
Added reqwest proxy support
This commit is contained in:
parent
8be2ed6255
commit
e7b6238f43
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ const ALLOWED_CHARS: &str = "_-.";
|
|||
lazy_static! {
|
||||
// Reuse the client between requests
|
||||
static ref CLIENT: Client = Client::builder()
|
||||
.use_sys_proxy()
|
||||
.gzip(true)
|
||||
.timeout(Duration::from_secs(CONFIG.icon_download_timeout()))
|
||||
.default_headers(_header_map())
|
||||
|
|
Loading…
Reference in a new issue