Skip to content

Commit

Permalink
addloadttest env to ff
Browse files Browse the repository at this point in the history
  • Loading branch information
deandreJones committed Jan 29, 2024
1 parent 27b4823 commit 85a5690
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/utils/featureFlags.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ const environmentFlags = {
production: {
...defaultFlags,
},

loadtest: {
...defaultFlags,
},
};

const validateFlag = (name) => {
Expand Down Expand Up @@ -98,6 +102,10 @@ export function detectEnvironment(nodeEnv, host) {
case 'office.demo.dp3.us':
case 'admin.demo.dp3.us':
return 'demo';
case 'my.loadtest.dp3.us':
case 'office.loadtest.dp3.us':
case 'admin.loadtest.dp3.us':
return 'loadtest';
default:
return 'development';
}
Expand Down

0 comments on commit 85a5690

Please sign in to comment.