forked from AkkomaGang/akkoma
host is now useless
This commit is contained in:
parent
ce1a42bd04
commit
afd378f84c
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ def open(%URI{} = uri, opts) do
|
||||||
|
|
||||||
defp maybe_add_tls_opts(opts, %URI{scheme: "http"}), do: opts
|
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 = [
|
tls_opts = [
|
||||||
verify: :verify_peer,
|
verify: :verify_peer,
|
||||||
cacertfile: CAStore.file_path(),
|
cacertfile: CAStore.file_path(),
|
||||||
|
|
Loading…
Reference in a new issue