Skip to content

Commit

Permalink
Global proxy configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jdonis committed Feb 24, 2025
1 parent d834e02 commit aaa6ddc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit aaa6ddc

Please sign in to comment.