Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-25 05:40:29 +01:00
Added reqwest proxy support
Dieser Commit ist enthalten in:
Ursprung
8be2ed6255
Commit
e7b6238f43
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
|
@ -27,6 +27,7 @@ const ALLOWED_CHARS: &str = "_-.";
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
// Reuse the client between requests
|
// Reuse the client between requests
|
||||||
static ref CLIENT: Client = Client::builder()
|
static ref CLIENT: Client = Client::builder()
|
||||||
|
.use_sys_proxy()
|
||||||
.gzip(true)
|
.gzip(true)
|
||||||
.timeout(Duration::from_secs(CONFIG.icon_download_timeout()))
|
.timeout(Duration::from_secs(CONFIG.icon_download_timeout()))
|
||||||
.default_headers(_header_map())
|
.default_headers(_header_map())
|
||||||
|
|
Laden …
In neuem Issue referenzieren