Skip to content

Commit

Permalink
Revert "Also fallback to new HEX_CACERTS_PATH (#399)"
Browse files Browse the repository at this point in the history
We will standardize this in Elixir instead.

This reverts commit b2c7e36.
  • Loading branch information
josevalim committed Oct 1, 2024
1 parent b2c7e36 commit 3b56c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bumblebee/utils/http.ex
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ defmodule Bumblebee.Utils.HTTP do
defp http_ssl_opts() do
# Allow a user-specified CA certs to support, for example, HTTPS proxies
cacert_opt =
case System.get_env("BUMBLEBEE_CACERTS_PATH") || System.get_env("HEX_CACERTS_PATH") do
case System.get_env("BUMBLEBEE_CACERTS_PATH") do
nil -> {:cacerts, :public_key.cacerts_get()}
file -> {:cacertfile, file}
end
Expand Down

0 comments on commit 3b56c7f

Please sign in to comment.