Skip to content

Commit 283a39d

Browse files
committed
fix: use config_env instead of Mix.env
1 parent efc7d51 commit 283a39d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎config/runtime.exs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ config :manavault, ManavaultWeb.Endpoint, http: [ip: {0, 0, 0, 0}, port: port]
3535
end
3636

3737
auth_disabled =
38-
Mix.env() in [:test, :dev] ||
38+
config_env() == :dev ||
3939
System.get_env("MANAVAULT_AUTH_DISABLED", "")
4040
|> String.trim()
4141
|> String.downcase()

0 commit comments

Comments
 (0)