diff --git a/config/config.exs b/config/config.exs index 2466af273..c36d91703 100644 --- a/config/config.exs +++ b/config/config.exs @@ -21,9 +21,6 @@ config :skate, busloc_url: {:system, "BUSLOC_URL"}, trip_updates_url: {:system, "TRIP_UPDATES_URL"}, bridge_requester: Bridge.Request, - bridge_url: {:system, "BRIDGE_URL"}, - bridge_api_username: {:system, "BRIDGE_API_USERNAME"}, - bridge_api_password: {:system, "BRIDGE_API_PASSWORD"}, start_data_processes: true, record_appcues: false, record_fullstory: false, diff --git a/config/runtime.exs b/config/runtime.exs index 1d7b8d9e2..dff2811e0 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -16,6 +16,12 @@ config :skate, swiftly_authorization_key: System.get_env("SWIFTLY_AUTHORIZATION_KEY"), swiftly_realtime_vehicles_url: System.get_env("SWIFTLY_REALTIME_VEHICLES_URL") +# Chelsea Bridge API +config :skate, + bridge_api_password: System.get_env("BRIDGE_API_PASSWORD"), + bridge_api_username: System.get_env("BRIDGE_API_USERNAME"), + bridge_url: System.get_env("BRIDGE_URL") + if System.get_env("SECRET_KEY_BASE") do config :skate, SkateWeb.Endpoint, secret_key_base: System.get_env("SECRET_KEY_BASE") end diff --git a/lib/skate/application.ex b/lib/skate/application.ex index 480c7fdc4..67209a07d 100644 --- a/lib/skate/application.ex +++ b/lib/skate/application.ex @@ -77,9 +77,6 @@ defmodule Skate.Application do :trip_updates_url, :geonames_url_base, :geonames_token, - :bridge_url, - :bridge_api_username, - :bridge_api_password, :sentry_frontend_dsn, :sentry_environment, :sentry_org_slug,