mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-29 04:41:02 +00:00
correct imgur domain
This commit is contained in:
parent
cdcaf4b323
commit
545d8c1dc5
2 changed files with 3 additions and 3 deletions
|
@ -79,7 +79,7 @@
|
|||
# in the config, this default is ignored and you need to list imgur explicitly. To proxy imgur
|
||||
# requests, specify a noop bypass list, eg `proxy_bypass_domains ["example.org"]`.
|
||||
proxy_bypass_domains: [
|
||||
"imgur.com"
|
||||
"i.imgur.com"
|
||||
/* ... */
|
||||
]
|
||||
# Timeout for uploading images to pictrs (in seconds)
|
||||
|
|
|
@ -93,8 +93,8 @@ pub struct PictrsConfig {
|
|||
/// imgur.com is bypassed by default to avoid rate limit errors. When specifying any bypass
|
||||
/// in the config, this default is ignored and you need to list imgur explicitly. To proxy imgur
|
||||
/// requests, specify a noop bypass list, eg `proxy_bypass_domains ["example.org"]`.
|
||||
#[default(vec!["imgur.com".to_string()])]
|
||||
#[doku(example = "imgur.com")]
|
||||
#[default(vec!["i.imgur.com".to_string()])]
|
||||
#[doku(example = "i.imgur.com")]
|
||||
pub proxy_bypass_domains: Vec<String>,
|
||||
|
||||
/// Timeout for uploading images to pictrs (in seconds)
|
||||
|
|
Loading…
Reference in a new issue