Skip to content

.env variables are undefined in production #757

Answered by Michael-Gibbons
rianfloo asked this question in Q&A
Discussion options

You must be logged in to vote

@rianfloo This doesn't sound like an issue with this package, when you switch to production in heroku you need to specify the config variables using either the heroku cli or the heroku admin.

https://devcenter.heroku.com/articles/config-vars

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JaKXz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #705 on March 30, 2022 15:43.