本文介绍了其他的heroku环境变量是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在设置服务器时,我注意到使用了环境变量process.env.PORT。还有其他的变数吗?我在哪里可以看到所有这些?

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?

推荐答案

以下命令将显示所有环境变量,而不仅仅是从 heroku config

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

heroku run printenv

这篇关于其他的heroku环境变量是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-29 23:26
查看更多