diff --git a/.changeset/pr-425-1576203123.md b/.changeset/pr-425-1576203123.md new file mode 100644 index 000000000..37e94a8fe --- /dev/null +++ b/.changeset/pr-425-1576203123.md @@ -0,0 +1,5 @@ + +--- +"fusion-project-portal": patch +--- +fusionLegacyEnvIdentifier should always be returned in capital letters , some application check this and are case sensitive diff --git a/client/packages/portal-client/src/portal.config.json b/client/packages/portal-client/src/portal.config.json index 2600eef1e..e64bcb8d2 100644 --- a/client/packages/portal-client/src/portal.config.json +++ b/client/packages/portal-client/src/portal.config.json @@ -40,5 +40,5 @@ "level": 0 } }, - "fusionLegacyEnvIdentifier": "ci" + "fusionLegacyEnvIdentifier": "CI" } \ No newline at end of file diff --git a/client/packages/portal-core/src/app/utils/app-get-legacy-client-config.ts b/client/packages/portal-core/src/app/utils/app-get-legacy-client-config.ts index e744666ce..6169eba90 100644 --- a/client/packages/portal-core/src/app/utils/app-get-legacy-client-config.ts +++ b/client/packages/portal-core/src/app/utils/app-get-legacy-client-config.ts @@ -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 {