diff --git a/lib/hex/state.ex b/lib/hex/state.ex index ea38af38f..98fe4bc9b 100644 --- a/lib/hex/state.ex +++ b/lib/hex/state.ex @@ -42,7 +42,7 @@ defmodule Hex.State do https_proxy: load_config(config, ["https_proxy", "HTTPS_PROXY"], :https_proxy), offline?: load_config(config, ["HEX_OFFLINE"], :offline) |> to_boolean |> default(false), check_cert?: load_config(config, ["HEX_UNSAFE_HTTPS"], :unsafe_https) |> to_boolean |> default(false) |> Kernel.not, - check_registry?: load_config(config, ["HEX_UNSAFE_REGISTRY"], :unsafe_registry) |> to_boolean |> default(true), + check_registry?: load_config(config, ["HEX_UNSAFE_REGISTRY"], :unsafe_registry) |> to_boolean |> default(false) |> Kernel.not, hexpm_pk: @hexpm_pk, registry_updated: false, httpc_profile: :hex,