diff --git a/src/components/OpenAPIChangelog/utils/constants.js b/src/components/OpenAPIChangelog/utils/constants.js index 65fdff991..ac8f5ee87 100644 --- a/src/components/OpenAPIChangelog/utils/constants.js +++ b/src/components/OpenAPIChangelog/utils/constants.js @@ -4,7 +4,7 @@ export const ALL_VERSIONS = 'ALL_VERSIONS'; export const COMPARE_VERSIONS = 'COMPARE_VERSIONS'; export const getDownloadChangelogUrl = (runId, snootyEnv) => { - return snootyEnv === 'production' + return snootyEnv === 'production' || snootyEnv === 'dotcomprd' ? `https://mongodb-mms-prod-build-server.s3.amazonaws.com/openapi/changelog/${runId}/changelog.json` : `https://mongodb-mms-build-server.s3.amazonaws.com/openapi/changelog/${runId}/changelog.json`; };