projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce1a42b
)
host is now useless
author
href
<href@random.sh>
Wed, 8 Jul 2020 14:02:57 +0000
(16:02 +0200)
committer
rinpatch
<rinpatch@sdf.org>
Wed, 15 Jul 2020 12:26:35 +0000
(15:26 +0300)
lib/pleroma/gun/conn.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/gun/conn.ex
b/lib/pleroma/gun/conn.ex
index 5c12e815356cc086479612fe0d6a8281738d7ee5..a3f75a4bbfb3248e361389ae6419318b9abfa799 100644
(file)
--- 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(),