我正在学习如何将一个简单的后端node.js项目部署到生产中,在我的例子中是heroku。我在一个.env文件中看到了有关环境变量的注意事项:
The environment variables defined in dotenv will only be used when the backend is not in production mode, i.e. Heroku.
We defined the environment variables for development in file .env, but the environment variable that defines