diff --git a/apps/explorer/config/config.exs b/apps/explorer/config/config.exs index 4b6986a4c4..cc58587a54 100644 --- a/apps/explorer/config/config.exs +++ b/apps/explorer/config/config.exs @@ -112,20 +112,6 @@ config :spandex_ecto, SpandexEcto.EctoLogger, tracer: Explorer.Tracer, otp_app: :explorer -config :explorer, Explorer.ThirdPartyIntegrations.AirTable, - table_url: System.get_env("PUBLIC_TAGS_AIRTABLE_URL"), - api_key: System.get_env("PUBLIC_TAGS_AIRTABLE_API_KEY") - -config :explorer, Explorer.Mailer, - adapter: Bamboo.SendGridAdapter, - api_key: System.get_env("SENDGRID_API_KEY") - -config :explorer, Explorer.Account, - sendgrid: [ - sender: System.get_env("SENDGRID_SENDER"), - template: System.get_env("SENDGRID_TEMPLATE") - ] - # 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" diff --git a/config/runtime.exs b/config/runtime.exs index 6e91163023..e439b0a5f0 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -321,6 +321,20 @@ config :explorer, Explorer.SmartContract.RustVerifierInterface, service_url: System.get_env("RUST_VERIFICATION_SERVICE_URL"), enabled: System.get_env("ENABLE_RUST_VERIFICATION_SERVICE") == "true" +config :explorer, Explorer.ThirdPartyIntegrations.AirTable, + table_url: System.get_env("PUBLIC_TAGS_AIRTABLE_URL"), + api_key: System.get_env("PUBLIC_TAGS_AIRTABLE_API_KEY") + +config :explorer, Explorer.Mailer, + adapter: Bamboo.SendGridAdapter, + api_key: System.get_env("SENDGRID_API_KEY") + +config :explorer, Explorer.Account, + sendgrid: [ + sender: System.get_env("SENDGRID_SENDER"), + template: System.get_env("SENDGRID_TEMPLATE") + ] + ############### ### Indexer ### ###############