Skip to content

Commit

Permalink
fix: fusionLegacyEnvIdentifier should always be returned in capital l…
Browse files Browse the repository at this point in the history
…etters , some application check this and are case sensitive
  • Loading branch information
Noggling committed Oct 27, 2023
1 parent fba041e commit 9884945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/packages/portal-client/src/portal.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@
"level": 0
}
},
"fusionLegacyEnvIdentifier": "ci"
"fusionLegacyEnvIdentifier": "CI"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const getLegacyClientConfig = (): Client => ({
});

export const getFusionLegacyEnvIdentifier = (): string => {
return window._config_.fusionLegacyEnvIdentifier;
return window._config_.fusionLegacyEnvIdentifier.toUpperCase();
};
declare global {
interface Window {
Expand Down

0 comments on commit 9884945

Please sign in to comment.