Skip to content

Commit

Permalink
DOP-4041: Changelog download button broken (#916)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeigs authored Sep 21, 2023
1 parent babea0b commit 00ef291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/OpenAPIChangelog/utils/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
};
Expand Down

0 comments on commit 00ef291

Please sign in to comment.