提交 48b938e7 编写于 作者: 雪洛's avatar 雪洛

docs: uniCloud ali global

上级 bd1e4e34
......@@ -155,3 +155,10 @@ uniCloud免费期间,为避免资源滥用,有使用限制,见下。
无论阿里云或腾讯云,如有需求突破资源限制,请发邮件到service@dcloud.io请求协助。如果属于标杆案例,可以申请特批免费;其他情况,可以手工付费。
### 海外用户访问比较慢怎么办
uniCloud服务商为阿里云时支持配置全球加速,步骤如下:
1. 参考[阿里云全球加速](https://help.aliyun.com/document_detail/153198.html)文档,开通服务并对`api.bspapp.com`进行加速
2. 自行初始化uniCloud传入endpoint参数,其值为开通全球加速的自有域名
\ No newline at end of file
......@@ -26,7 +26,8 @@ function init(options):uniCloud
|spaceId |String |是 |- |服务空间ID,**注意是服务空间ID,不是服务空间名称** |
|clientSecret |String |是 |- |仅阿里云支持,可以在[uniCloud控制台](https://unicloud.dcloud.net.cn)服务空间列表中查看 |
|debugFunction|Boolean|否 |true |是否启用云函数日志输出,仅开发阶段生效,平台支持:APP、H5(使用`HBuilderX`内置浏览器获得更好的调试体验) |
|endpoint |String |否 |https://api.bspapp.com |服务空间地址 |仅阿里云侧支持 |
|endpoint |String |否 |`https://api.bspapp.com` |服务空间地址,仅阿里云侧支持 |
<!-- |autoSignIn |Boolean|否 |true |是否自动匿名登录 |仅腾讯云侧支持 | -->
**关于debugFunction的说明**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册