Skip to content

Commit

Permalink
fix: always allow env REACT_ENV to take precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
thisislawatts committed Nov 20, 2021
1 parent 0133671 commit 8ae31e5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ console.log(`[${siteVariant}] site`)

// production config is passed as environment variables during CI build.
if (siteVariant === 'production') {
// note, technically not required as supplied directly to firebase config() method during build
sentryConfig = {
dsn: e.REACT_APP_SENTRY_DSN as string,
}
// TODO - create production algolia config
algoliaSearchConfig = {
applicationID: '',
Expand Down

0 comments on commit 8ae31e5

Please sign in to comment.