提交 497a7edf 编写于 作者: 雪洛's avatar 雪洛

docs: update uniCloud faq

上级 22e63811
......@@ -396,11 +396,15 @@ let's encrypt于2021年9月30日根证书过期并切换到新版根证书。详
1. 将云函数升级到nodejs12,删除旧云函数,配置node版本之后重新上传。详情参考:[云函数package.json](https://uniapp.dcloud.net.cn/uniCloud/cf-functions?id=packagejson)
2. (不推荐)使用`uniCloud.httpclient.request`传入`rejectUnauthorized: false`。示例代码如下:
2. (不推荐)使用`uniCloud.httpclient.request`使用`rejectUnauthorized: false`。示例代码如下:
```js
const https = require('https')
const httpsAgent = new https.Agent({
rejectUnauthorized: false
})
await uniCloud.httpclient.request('https://xxx.com/get', {
rejectUnauthorized: false
httpsAgent
})
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册