Skip to content

Commit

Permalink
Update sts-post.html
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu authored Mar 21, 2018
1 parent bcb7516 commit 445b307
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/sts-post.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h1>Ajax Post 上传</h1>

// 上传文件
var uploadFile = function (file, callback) {
var Key = file.name;
var Key = 'dir/' + file.name; // 这里指定上传路径

getAuthorization({Method: 'POST', Key: ''}, function (err, info) {
var auth = info.Authorization;
Expand Down Expand Up @@ -125,4 +125,4 @@ <h1>Ajax Post 上传</h1>
</script>

</body>
</html>
</html>

0 comments on commit 445b307

Please sign in to comment.