node中请求https时遇到错误
Could not obtain grant code: Error: self signed certificate
可以在app.js中加入代码,忽略证书安全
process.env[“NODE_TLS_REJECT_UNAUTHORIZED”] = 0;
node中请求https时遇到错误
Could not obtain grant code: Error: self signed certificate
可以在app.js中加入代码,忽略证书安全
process.env[“NODE_TLS_REJECT_UNAUTHORIZED”] = 0;