This commit is contained in:
Pierre de Lacroix 2026-01-22 16:29:25 +01:00
parent 617c2ab725
commit c451662178
Signed by: lateralus23
GPG key ID: 53E0CEC29C24EF39
17 changed files with 602 additions and 2 deletions

View file

@ -29,6 +29,9 @@ config :logger, :default_formatter,
# Use Jason for JSON parsing in Phoenix
config :phoenix, :json_library, Jason
config :oauth2, adapter: Tesla.Adapter.Mint
config :oauth2, middleware: [{Tesla.Middleware.FollowRedirects, max_redirects: 3}, {Tesla.Middleware.Logger, debug: true}]
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{config_env()}.exs"

View file

@ -51,3 +51,9 @@ config :phoenix, :stacktrace_depth, 20
# Initialize plugs at runtime for faster development compilation
config :phoenix, :plug_init_mode, :runtime
config :oauth2, debug: true
config :camp_api, :qonto_url,
staging: true,
base_url: "https://thirdparty-sandbox.staging.qonto.co"