提交 3b0364a1 编写于 作者: 雪洛's avatar 雪洛

update: fix spaceId error

上级 21a802ec
......@@ -13,14 +13,16 @@ if (process.env.UNI_CLOUD_SPACES) {
if (space.clientSecret) {
process.env.UNI_CLOUD_PROVIDER = JSON.stringify({
provider: 'aliyun',
spaceId: space.name,
spaceName: space.name,
spaceId: space.id,
clientSecret: space.clientSecret,
endpoint: space.apiEndpoint
})
} else {
process.env.UNI_CLOUD_PROVIDER = JSON.stringify({
provider: 'tencent',
spaceId: space.name
spaceName: space.name,
spaceId: space.id
})
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册