Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

.env configuration for development and production #8

Open
ghostffcode opened this issue Apr 5, 2017 · 0 comments
Open

.env configuration for development and production #8

ghostffcode opened this issue Apr 5, 2017 · 0 comments

Comments

@ghostffcode
Copy link

Since the .env file contains sensitive information, isn't it best to include it in the .gitignore file and then add an if statement that checks if NODE_ENV doesn't equal production before including .env configuration from file?

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

No branches or pull requests

2 participants