You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we're using dotenv() under the hood, so I think that there should be a fall back case where if there is no path that is passed in, dotenv should just load the env variables directly from the system (which is the recommended way, anyway).
Any thoughts?
The text was updated successfully, but these errors were encountered:
This is more design related.
Current behavior is that you must pass an env file to load through the
path
property.However, in a production environment, it is recommended that the
.env
NOT be committed to the repository, as per https://github.com/motdotla/dotenv#should-i-commit-my-env-filewe're using
dotenv()
under the hood, so I think that there should be a fall back case where if there is no path that is passed in,dotenv
should just load the env variables directly from the system (which is the recommended way, anyway).Any thoughts?
The text was updated successfully, but these errors were encountered: