Skip to content

Commit

Permalink
修改 demo
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu committed Jul 16, 2018
1 parent 898c3f8 commit babf47b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/sts.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ var request = require('request');
var config = {
Url: 'https://sts.api.qcloud.com/v2/index.php',
Domain: 'sts.api.qcloud.com',
Proxy: 'http://web-proxy.tencent.com:8080',
SecretId: 'AKIDRgfOs6anGTQ8amsPr55qNgkZAWeXGdpn', // 固定密钥
SecretKey: 'rTqxznRvBD2g7NQFqCJAm9HBtMbaO0NW', // 固定密钥
Bucket: 'test-1256263624',
Proxy: '',
SecretId: 'AKIDxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', // 固定密钥
SecretKey: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', // 固定密钥
Bucket: 'test-1250000000',
Region: 'ap-guangzhou',
AllowPrefix: '*', // 这里改成允许的路径前缀,这里可以根据自己网站的用户登录态判断允许上传的目录,例子:* 或者 a/* 或者 a.jpg
};
Expand Down

0 comments on commit babf47b

Please sign in to comment.