Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use environment variable instead of a hard-coded API_KEY #9

Open
rbval opened this issue Feb 15, 2017 · 0 comments
Open

Use environment variable instead of a hard-coded API_KEY #9

rbval opened this issue Feb 15, 2017 · 0 comments

Comments

@rbval
Copy link

rbval commented Feb 15, 2017

API_KEY is hardcoded and should not be in version control: https://github.com/StephenGrider/ReduxCasts/blob/master/video_browser/src/index.js#L8 .

dotenv-webpack (https://github.com/mrsteele/dotenv-webpack) could be used to load the API_KEY from a local .env file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant