From 45d382bcf025a28a1bab75113847cf0b4109e222 Mon Sep 17 00:00:00 2001 From: Alex Pickering Date: Wed, 24 Aug 2022 16:07:28 -0700 Subject: [PATCH] revert --- src/config/default-config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/config/default-config.js b/src/config/default-config.js index e50767e99..ec36e9df0 100644 --- a/src/config/default-config.js +++ b/src/config/default-config.js @@ -79,7 +79,7 @@ const config = { pipelineInstanceConfigUrl: `https://raw.githubusercontent.com/${githubOrganisationName}/iac/master/releases/production/pipeline.yaml`, cachingEnabled: true, corsOriginUrl: `https://${domainName}`, - adminSub: ADMIN_SUB[process.env.AWS_ACCOUNT_ID] || '0b17683f-363b-4466-b2e2-5bf11c38a76e', + adminSub: ADMIN_SUB[process.env.AWS_ACCOUNT_ID], }; @@ -89,6 +89,7 @@ if (config.clusterEnv === 'staging' && config.sandboxId === 'default') { config.pipelineInstanceConfigUrl = `https://raw.githubusercontent.com/${githubOrganisationName}/iac/master/releases/staging/pipeline.yaml`; config.cachingEnabled = false; config.corsOriginUrl = `https://ui-default.${domainName}`; + config.adminSub = '0b17683f-363b-4466-b2e2-5bf11c38a76e'; } // We are in user staging environments @@ -97,6 +98,7 @@ if (config.clusterEnv === 'staging' && config.sandboxId !== 'default') { config.pipelineInstanceConfigUrl = `https://raw.githubusercontent.com/${githubOrganisationName}/iac/master/releases/staging/${config.sandboxId}.yaml`; config.cachingEnabled = false; config.corsOriginUrl = `https://ui-${config.sandboxId}.${domainName}`; + config.adminSub = '0b17683f-363b-4466-b2e2-5bf11c38a76e'; } @@ -114,6 +116,7 @@ if (config.clusterEnv === 'development') { }); config.corsOriginUrl = 'http://localhost:5000'; + config.adminSub = '0b17683f-363b-4466-b2e2-5bf11c38a76e'; } module.exports = config;