Skip to content

Commit

Permalink
remove or rename (#2062)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshull authored May 17, 2024
1 parent fdbeba2 commit 3c345c1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Welcome to [Dotcom](https://www.notion.so/mbta-downtown-crossing/Dotcom-6aa7b0f0
```
cp .env.template .env
```
Then uncomment the `V3_API_KEY` line and fill it in with the key you obtained
Then uncomment the `MBTA_API_KEY` line and fill it in with the key you obtained
in the first step. If you have [direnv] installed (recommended), it will automatically load
and unload the environment using this file. If not, `source .envrc` will load
or update the variables in your shell session manually.
Expand Down
2 changes: 1 addition & 1 deletion bin/validate_fixtures.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# """
# Compare the attributes in our fixture files to production Drupal API endpoints to see if any are missing.
#
# See the project README for information on setting the `DRUPAL_ROOT` environment variable.
# See the project README for information on setting the `CMS_API_BASE_URL` environment variable.
#
# Run like:
#
Expand Down
6 changes: 3 additions & 3 deletions config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,17 @@ else
end

config :dotcom, :cms_api,
base_url: System.get_env("CMS_API_BASE_URL", System.get_env("DRUPAL_ROOT")),
base_url: System.get_env("CMS_API_BASE_URL"),
headers: [
{"Content-Type", "application/json"},
{"Accept", "application/json"}
]

config :dotcom, :mbta_api,
base_url: System.get_env("MBTA_API_BASE_URL", System.get_env("V3_URL")),
base_url: System.get_env("MBTA_API_BASE_URL"),
headers: [
{"MBTA-Version", "2019-07-01"},
{"x-api-key", System.get_env("MBTA_API_KEY", System.get_env("V3_API_KEY"))},
{"x-api-key", System.get_env("MBTA_API_KEY")},
{"x-enable-experimental-features", "true"}
]

Expand Down
2 changes: 1 addition & 1 deletion integration/health_checks/cms.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { status200 } = require("../utils");

const options = {
baseURL: process.env.CMS_API_BASE_URL || process.env.DRUPAL_ROOT,
baseURL: process.env.CMS_API_BASE_URL,
url: "/pantheon_healthcheck",
};

Expand Down

0 comments on commit 3c345c1

Please sign in to comment.