From aaa6ddc06c0b898f46dc5b926219df42e92eb167 Mon Sep 17 00:00:00 2001 From: jdonis Date: Sun, 23 Feb 2025 23:30:52 -0500 Subject: [PATCH] Global proxy configuration --- config/config.exs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/config.exs b/config/config.exs index 5e160c7ff..e6dc595db 100644 --- a/config/config.exs +++ b/config/config.exs @@ -31,6 +31,12 @@ config :bamboo, :json_library, Jason config :tesla, :adapter, Tesla.Adapter.Hackney +proxy = System.get_env("PROXY_HOST") + +if proxy do + config :httpoison, :proxy, proxy +end + config :challenge_gov, :recaptcha, module: ChallengeGov.Recaptcha.Implementation config :challenge_gov, :gov_delivery, module: ChallengeGov.GovDelivery.Implementation