host is now useless

This commit is contained in:
href 2020-07-08 16:02:57 +02:00 committed by rinpatch
부모 ce1a42bd04
커밋 afd378f84c

파일 보기

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