config: make sending the user agent configurable, disable sending the user agent in tests

This commit is contained in:
William Pitcock 2019-05-17 20:28:58 +00:00
commit 290f5b2cfe
3 changed files with 10 additions and 1 deletions

View file

@ -192,6 +192,7 @@ config :tesla, adapter: Tesla.Adapter.Hackney
# Configures http settings, upstream proxy etc.
config :pleroma, :http,
proxy_url: nil,
send_user_agent: true,
adapter: [
ssl_options: [
# We don't support TLS v1.3 yet