What are the other heroku environment variables?

前端 未结 4 1922
萌比男神i
萌比男神i 2020-12-28 12:50

When setting up a server, I noticed that the environment variable process.env.PORT is used. Are there any other variables like this? Where can I see all of them?

4条回答
  •  庸人自扰
    2020-12-28 13:11

    The following command will display all of the environment variables, not just those visible from heroku config:

    heroku run printenv
    

提交回复
热议问题