mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-23 02:38:11 +03:00
Merge pull request #571 from BlackDex/icon-proxy-support
Added reqwest proxy support
This commit is contained in:
1 file changed
+1
@@ -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())
|
||||
|
||||
Reference in new issue
Block a user