Skip to content

Commit 393eb04

Browse files
rksmctron
authored andcommitted
regenerate schemas/config.json
1 parent 121235c commit 393eb04

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

schemas/config.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,11 @@
355355
"default": false,
356356
"type": "boolean"
357357
},
358+
"no_redirect": {
359+
"description": "Automatically redirect proxy requests? `no_redirect` defaults to `false`, i.e. yes, follow redirects automatically.",
360+
"default": false,
361+
"type": "boolean"
362+
},
358363
"no_system_proxy": {
359364
"description": "Configure the proxy to bypass the system proxy.",
360365
"default": false,
@@ -471,6 +476,14 @@
471476
"null"
472477
]
473478
},
479+
"proxy_no_redirect": {
480+
"description": "Configure the proxy to not follow redirects",
481+
"default": null,
482+
"type": [
483+
"boolean",
484+
"null"
485+
]
486+
},
474487
"proxy_no_system_proxy": {
475488
"description": "Configure the proxy to bypass system proxy",
476489
"default": null,

src/config/models/proxy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub struct Proxy {
2828
#[serde(alias = "no-system-proxy")]
2929
#[serde(default)]
3030
pub no_system_proxy: bool,
31-
/// Automatically redirect proxy requests? `no_redirect` Defaults to
31+
/// Automatically redirect proxy requests? `no_redirect` defaults to
3232
/// `false`, i.e. yes, follow redirects automatically.
3333
#[serde(default)]
3434
pub no_redirect: bool,

0 commit comments

Comments
 (0)