Skip to content

Commit

Permalink
Change stage name array
Browse files Browse the repository at this point in the history
  • Loading branch information
haworku committed May 17, 2024
1 parent e0efbaa commit 3beefd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/app-web/src/pages/App/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function App({
s3Client,
}: AppProps): React.ReactElement {
const environmentName = process.env.REACT_APP_STAGE_NAME || ''
const isHigherEnv = ['prod', 'val', 'dev'].includes(environmentName )
const isHigherEnv = ['prod', 'val', 'main'].includes(environmentName )
const nrSnippet = generateNRScriptContent({accountID: getEnv('REACT_APP_NR_ACCOUNT_ID'), trustKey: getEnv('REACT_APP_NR_TRUST_KEY'), applicationID: getEnv('REACT_APP_NR_AGENT_ID'), licenseKey: getEnv('REACT_APP_NR_LICENSE_KEY')})
useScript({inlineScriptAsString: nrSnippet, src:'', id: 'newrelic', showScript: isHigherEnv})

Expand Down

0 comments on commit 3beefd2

Please sign in to comment.