Merge branch 'rich-media-user-agent' into 'develop'
Allow setting custom user-agent for fetching rich media content See merge request pleroma/pleroma!4390
This commit is contained in:
commit
6e98c7a1ca
3 changed files with 12 additions and 1 deletions
|
|
@ -2131,6 +2131,11 @@ config :pleroma, :config_description, [
|
|||
description:
|
||||
"Amount of milliseconds after which the HTTP request is forcibly terminated.",
|
||||
suggestions: [5_000]
|
||||
},
|
||||
%{
|
||||
key: :user_agent,
|
||||
type: :string,
|
||||
description: "Custom User-Agent header to be used when fetching rich media content."
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue