Skip to content

Commit 7dd80af

Browse files
authored
Update simple-put.html
1 parent 7678c80 commit 7dd80af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/simple-put.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ <h1>Ajax Put 上传</h1>
6161

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

0 commit comments

Comments
 (0)