diff options
author | Hakaba Hitoyo <hakabahitoyo@example.com> | 2018-12-06 11:38:33 +0900 |
---|---|---|
committer | Hakaba Hitoyo <hakabahitoyo@example.com> | 2018-12-06 11:38:33 +0900 |
commit | 96ba95df2e6690c1c6a58cf087c91eab7af728b4 (patch) | |
tree | 46d1e0aeb8f67a75ff46fff949d5872d8dfd36fc /lib/pleroma/http/connection.ex | |
parent | 27792b2d77564717e7d4063ab3524ab9e1cb1fb6 (diff) | |
download | pleroma-96ba95df2e6690c1c6a58cf087c91eab7af728b4.tar.gz |
remove follow_redirect options
Diffstat (limited to 'lib/pleroma/http/connection.ex')
-rw-r--r-- | lib/pleroma/http/connection.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/http/connection.ex b/lib/pleroma/http/connection.ex index 66e0d0568..db46f9e55 100644 --- a/lib/pleroma/http/connection.ex +++ b/lib/pleroma/http/connection.ex @@ -6,7 +6,8 @@ defmodule Pleroma.HTTP.Connection do @hackney_options [ pool: :default, timeout: 10000, - recv_timeout: 20000 + recv_timeout: 20000, + follow_redirect: true ] @adapter Application.get_env(:tesla, :adapter) |