Skip to content

Commit

Permalink
Fix: Adding prodDomains for standalone gnav
Browse files Browse the repository at this point in the history
  • Loading branch information
bandana147 committed Dec 4, 2024
1 parent ac9010a commit 2cd04cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/navigation/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ const getStageDomainsMap = (stageDomainsMap) => (
}
);

// Production Domain
const prodDomains = ['milo.adobe.com', 'business.adobe.com', 'www.adobe.com', 'adobecom.github.io'];

function getParamsConfigs(configs) {
return blockConfig.reduce((acc, block) => {
block.params.forEach((param) => {
Expand Down Expand Up @@ -107,6 +110,7 @@ export default async function loadBlock(configs, customLib) {
contentRoot: authoringPath || footer.authoringPath,
theme,
...paramConfigs,
prodDomains,
standaloneGnav: true,
stageDomainsMap: getStageDomainsMap(stageDomainsMap),
};
Expand Down

0 comments on commit 2cd04cf

Please sign in to comment.