diff options
author | href <href@random.sh> | 2020-07-08 16:02:57 +0200 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-07-15 15:26:35 +0300 |
commit | afd378f84c4c1b784eba11b35c21e0b6ae3d7915 (patch) | |
tree | 1512027b6969df38ad9bb807358fd7bda489c2d0 | |
parent | ce1a42bd04bcf352ea1565b411444a98261b0a96 (diff) | |
download | pleroma-afd378f84c4c1b784eba11b35c21e0b6ae3d7915.tar.gz |
host is now useless
-rw-r--r-- | lib/pleroma/gun/conn.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/gun/conn.ex b/lib/pleroma/gun/conn.ex index 5c12e8153..a3f75a4bb 100644 --- a/lib/pleroma/gun/conn.ex +++ b/lib/pleroma/gun/conn.ex @@ -22,7 +22,7 @@ defmodule Pleroma.Gun.Conn do defp maybe_add_tls_opts(opts, %URI{scheme: "http"}), do: opts - defp maybe_add_tls_opts(opts, %URI{scheme: "https", host: host}) do + defp maybe_add_tls_opts(opts, %URI{scheme: "https"}) do tls_opts = [ verify: :verify_peer, cacertfile: CAStore.file_path(), |