Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-bogos committed May 28, 2024
1 parent c6e067e commit 57d2426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ export function decorateLinks(el) {
appendHtmlToLink(a);
a.href = localizeLink(a.href);
decorateSVG(a);
if (config.env.name === 'stage' && config.stageDomainsMap?.[a.hostname]) {
if (config.env?.name === 'stage' && config.stageDomainsMap?.[a.hostname]) {
a.href = a.href.replace(a.hostname, config.stageDomainsMap[a.hostname]);
}
if (a.href.includes('#_blank')) {
Expand Down

0 comments on commit 57d2426

Please sign in to comment.