Skip to content

Commit

Permalink
Update simple-put.html
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonxu authored Mar 21, 2018
1 parent 7678c80 commit 7dd80af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/simple-put.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h1>Ajax Put 上传</h1>

// 上传文件
var uploadFile = function (file, callback) {
var Key = 'dir/' + file.name; // 这里指定目录
var Key = 'dir/' + file.name; // 这里指定上传路径
getAuthorization({Method: 'PUT', Key: Key}, function (err, auth) {
var url = prefix + Key;
var xhr = new XMLHttpRequest();
Expand Down

0 comments on commit 7dd80af

Please sign in to comment.