Skip to content

Commit

Permalink
Update sts.js
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu authored Jul 10, 2019
1 parent 746e580 commit c1316f6
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 @@ -64,7 +64,7 @@ app.all('/sts', function (req, res, next) {
'action': config.allowActions,
'effect': 'allow',
'resource': [
'qcs::cos:ap-guangzhou:uid/' + AppId + ':prefix//' + AppId + '/' + ShortBucketName + '/' + config.allowPrefix,
'qcs::cos:' + config.region + ':uid/' + AppId + ':prefix//' + AppId + '/' + ShortBucketName + '/' + config.allowPrefix,
],
}],
};
Expand Down

0 comments on commit c1316f6

Please sign in to comment.