@ -71,12 +71,6 @@ defmodule Mix.Tasks.Heroicons.Update do
|
||||
:httpc.set_options([{:proxy, {{String.to_charlist(host), port}, []}}])
|
||||
end
|
||||
|
||||
if proxy = System.get_env("HTTPS_PROXY") || System.get_env("https_proxy") do
|
||||
Logger.debug("Using HTTPS_PROXY: #{proxy}")
|
||||
%{host: host, port: port} = URI.parse(proxy)
|
||||
:httpc.set_options([{:https_proxy, {{String.to_charlist(host), port}, []}}])
|
||||
end
|
||||
|
||||
# https://erlef.github.io/security-wg/secure_coding_and_deployment_hardening/inets
|
||||
cacertfile = CAStore.file_path() |> String.to_charlist()
|
||||
|
||||
|
Reference in New Issue
Block a user