Skip to content

Commit

Permalink
WEB | utils | Added staging-who env
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Nov 22, 2021
1 parent 1688b9d commit 2560f47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,8 @@ export const getEnv = forURL => {
return 'demo';
if(fqdn.match('app.dev.openconceptlab'))
return 'dev';
if(fqdn.match('app.staging.who.openconceptlab'))
return forURL ? 'staging.who' : 'staging-who';
if(fqdn.match('app.openconceptlab'))
return forURL ? '' : 'production';

Expand Down

0 comments on commit 2560f47

Please sign in to comment.