From 00ef2914bf2cf275cd2e16d391f16064cc6dd886 Mon Sep 17 00:00:00 2001 From: mmeigs Date: Thu, 21 Sep 2023 14:59:51 -0400 Subject: [PATCH] DOP-4041: Changelog download button broken (#916) --- src/components/OpenAPIChangelog/utils/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`; };