Skip to content

Add environment variable for API data - #33

Open
MathyouMB wants to merge 8 commits into
masterfrom
EnvVar
Open

Add environment variable for API data#33
MathyouMB wants to merge 8 commits into
masterfrom
EnvVar

Conversation

@MathyouMB

Copy link
Copy Markdown
Member

No description provided.

@MathyouMBMathyouMB linked an issue Jun 16, 2021 that may be closed by this pull request
Comment threadsrc/global.d.ts Outdated
declare global {
// eslint-disable-next-line no-var
// eslint-disable-next-line no-unused-vars
var __IS_PROD__:string

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason why this has to be a var and not let or const?

@MathyouMB

Copy link
Copy Markdown
MemberAuthor

@ApprenticeofEnder Could you add a sample .env file?

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Env var for Mock Vs API data

2 participants

@MathyouMB@ApprenticeofEnder