Skip to content

Commit

Permalink
Update sts.js
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu authored Apr 20, 2020
1 parent 4c00d12 commit d54d9c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/sts.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var config = {
durationSeconds: 1800,
bucket: process.env.Bucket,
region: process.env.Region,
// 允许操作(上传)的对象前缀,可以根据自己网站的用户登录态判断允许上传的目录,例子:* 或者 a/* 或者 a.jpg
// 允许操作(上传)的对象前缀,可以根据自己网站的用户登录态判断允许上传的目录,例子: user1/* 或者 * 或者a.jpg
// 请注意当使用 * 时,可能存在安全风险,详情请参阅:https://cloud.tencent.com/document/product/436/40265
allowPrefix: '_ALLOW_DIR_/*',
// 密钥的权限列表
Expand Down

0 comments on commit d54d9c5

Please sign in to comment.