Skip to content

Commit

Permalink
regenerate schemas/config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
rksm authored and ctron committed Aug 28, 2024
1 parent 121235c commit 393eb04
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions schemas/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,11 @@
"default": false,
"type": "boolean"
},
"no_redirect": {
"description": "Automatically redirect proxy requests? `no_redirect` defaults to `false`, i.e. yes, follow redirects automatically.",
"default": false,
"type": "boolean"
},
"no_system_proxy": {
"description": "Configure the proxy to bypass the system proxy.",
"default": false,
Expand Down Expand Up @@ -471,6 +476,14 @@
"null"
]
},
"proxy_no_redirect": {
"description": "Configure the proxy to not follow redirects",
"default": null,
"type": [
"boolean",
"null"
]
},
"proxy_no_system_proxy": {
"description": "Configure the proxy to bypass system proxy",
"default": null,
Expand Down
2 changes: 1 addition & 1 deletion src/config/models/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub struct Proxy {
#[serde(alias = "no-system-proxy")]
#[serde(default)]
pub no_system_proxy: bool,
/// Automatically redirect proxy requests? `no_redirect` Defaults to
/// Automatically redirect proxy requests? `no_redirect` defaults to
/// `false`, i.e. yes, follow redirects automatically.
#[serde(default)]
pub no_redirect: bool,
Expand Down

0 comments on commit 393eb04

Please sign in to comment.