Skip to content

Commit

Permalink
chore: point screens-dev-green at api-dev-blue
Browse files Browse the repository at this point in the history
While mbta/devops#2122 updates the `API_V3_URL`
for screens-dev-green to point to api-dev-blue, we don't use that value
if `ENVIRONMENT_NAME` is set.

This updates the API url used when `ENVIRONMENT_NAME` is
`"screens-dev-green"` to point to api-dev-blue.
  • Loading branch information
sloanelybutsurely committed Aug 30, 2024
1 parent c7d9904 commit eeaaaa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ api_v3_url =
case eb_env_name do
"screens-prod" -> "https://api-v3.mbta.com/"
"screens-dev" -> "https://api-dev.mbtace.com/"
"screens-dev-green" -> "https://api-dev-green.mbtace.com/"
"screens-dev-green" -> "https://api-dev-blue.mbtace.com/"
_ -> System.get_env("API_V3_URL", "https://api-v3.mbta.com/")
end

Expand Down

0 comments on commit eeaaaa4

Please sign in to comment.