我通常会传递一个连接对象,但在这种情况下,我必须使用来自环境变量的连接字符串。connection: connstr //normally I would pass in the object below // "host": config.get('database_host'),
// "user": config.get(
[我正在使用Node.js,并且已经设置了环境变量vidly_jwtPrivateKey。并尝试使用这个命令config.get(‘vidly_jwtPrivateKey’)使用配置包检索它,但是我一直收到以下错误:
if (!config.get('vidly_jwtPrivateKey')){
console.error('FATAL ERR