This repository has been archived by the owner on Oct 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix optimizely for local dev (#1874)
* Prefer remote dev eth provider in dev env * Fix optimizely local dev (#1261) * Fix env * Fix types Co-authored-by: Dylan Jeffers <dylan@audius.co>
- Loading branch information
1 parent
a3e62e8
commit 40bda4c
Showing
7 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
export type Environment = 'development' | 'staging' | 'production' | ||
|
||
export type Env = { | ||
EAGER_DISCOVERY_NODES?: string | ||
EXPLORE_CONTENT_URL?: string | ||
ENVIRONMENT?: Environment | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
import type { Environment } from '@audius/common' | ||
|
||
export const env = { | ||
EAGER_DISCOVERY_NODES: process.env.REACT_APP_EAGER_DISCOVERY_NODES | ||
EAGER_DISCOVERY_NODES: process.env.REACT_APP_EAGER_DISCOVERY_NODES, | ||
ENVIRONMENT: process.env.REACT_APP_ENVIRONMENT as Environment | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
import { Environment } from '@audius/common' | ||
|
||
export const env = { | ||
EAGER_DISCOVERY_NODES: process.env.REACT_APP_EAGER_DISCOVERY_NODES, | ||
EXPLORE_CONTENT_URL: process.env.REACT_APP_EXPLORE_CONTENT_URL | ||
EXPLORE_CONTENT_URL: process.env.REACT_APP_EXPLORE_CONTENT_URL, | ||
ENVIRONMENT: process.env.REACT_APP_ENVIRONMENT as Environment | ||
} |