Browse Source

host is now useless

chores/our-libs-hex-releases
href rinpatch 4 years ago
parent
commit
afd378f84c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/pleroma/gun/conn.ex

+ 1
- 1
lib/pleroma/gun/conn.ex View File

@@ -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(),


Loading…
Cancel
Save