其他heroku环境变量是什么? [英] What are the other heroku environment variables?

查看:25
本文介绍了其他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环境变量是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆