diff --git a/backend/api/StartupConfiguration/DcdCorsPolicyConfiguration.cs b/backend/api/StartupConfiguration/DcdCorsPolicyConfiguration.cs index 195e8e6f4..67f5d074c 100644 --- a/backend/api/StartupConfiguration/DcdCorsPolicyConfiguration.cs +++ b/backend/api/StartupConfiguration/DcdCorsPolicyConfiguration.cs @@ -21,7 +21,9 @@ public static void AddDcdCorsPolicy(this IServiceCollection services) "https://pro-s-portal-fqa.azurewebsites.net", "https://pro-s-portal-fprd.azurewebsites.net", "https://fusion-s-portal-ci.azurewebsites.net", + "https://fusion.ci.fusion-dev.net", "https://fusion-s-portal-fqa.azurewebsites.net", + "https://fusion.fqa.fusion-dev.net", "https://fusion-s-portal-fprd.azurewebsites.net", "https://pr-3422.fusion-dev.net", "https://pr-*.fusion-dev.net" diff --git a/frontend/src/environmentVariables.ts b/frontend/src/environmentVariables.ts index 82830ace6..6f9075f6b 100644 --- a/frontend/src/environmentVariables.ts +++ b/frontend/src/environmentVariables.ts @@ -9,9 +9,13 @@ const getEnv = (): string => { switch (location.hostname) { case "fusion-s-portal-fqa.azurewebsites.net": return "QA" + case "fusion.fqa.fusion-dev.net": + return "QA" case "fusion-s-portal-ci.azurewebsites.net": return "CI" + case "fusion.ci.fusion-dev.net": + return "CI" case "fusion.equinor.com": case "fusion-s-portal-fprd.azurewebsites.net":