Skip to content

Commit

Permalink
Fix: Adding allowedDomains for standalone gnav
Browse files Browse the repository at this point in the history
  • Loading branch information
bandana147 committed Dec 4, 2024
1 parent 2cd04cf commit ab31057
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/navigation/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export default async function loadBlock(configs, customLib) {
env = 'prod',
locale = '',
theme,
allowedOrigins,
stageDomainsMap = {},
} = configs || {};
if (!header && !footer) {
Expand Down Expand Up @@ -111,6 +112,7 @@ export default async function loadBlock(configs, customLib) {
theme,
...paramConfigs,
prodDomains,
allowedOrigins,
standaloneGnav: true,
stageDomainsMap: getStageDomainsMap(stageDomainsMap),
};
Expand Down

0 comments on commit ab31057

Please sign in to comment.