首页 > 代码库 > [Nodejs] 错误 DEPTH_ZERO_SELF_SIGNED_CERT

[Nodejs] 错误 DEPTH_ZERO_SELF_SIGNED_CERT

修改环境变量:

process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"