Skip to content

Commit

Permalink
#9891
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhaokui committed Jul 9, 2014
1 parent 2c9c332 commit f50f558
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/qiniu.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ function QiniuJsSDK() {
};

plupload.extend(option, op, {
url: 'http://up.qiniu.com',
url: 'http://upload.qiniu.com',
chunk_size: 0,
multipart_params: {
token: ''
Expand Down Expand Up @@ -363,7 +363,7 @@ function QiniuJsSDK() {


up.setOption({
'url': 'http://up.qiniu.com/',
'url': 'http://upload.qiniu.com/',
'multipart': true,
'chunk_size': undefined,
'multipart_params': multipart_params_obj
Expand All @@ -381,7 +381,7 @@ function QiniuJsSDK() {
var blockSize = chunk_size;
ctx = '';
up.setOption({
'url': 'http://up.qiniu.com/mkblk/' + blockSize,
'url': 'http://upload.qiniu.com/mkblk/' + blockSize,
'multipart': false,
'chunk_size': chunk_size,
'headers': {
Expand All @@ -404,7 +404,7 @@ function QiniuJsSDK() {
chunk_size = chunk_size || (up.settings && up.settings.chunk_size);
if (leftSize < chunk_size) {
up.setOption({
'url': 'http://up.qiniu.com/mkblk/' + leftSize
'url': 'http://upload.qiniu.com/mkblk/' + leftSize
});
}

Expand Down Expand Up @@ -555,7 +555,7 @@ function QiniuJsSDK() {
}
}

var url = 'http://up.qiniu.com/mkfile/' + file.size + key + x_vars_url;
var url = 'http://upload.qiniu.com/mkfile/' + file.size + key + x_vars_url;
var ajax = that.createAjax();
ajax.open('POST', url, true);
ajax.setRequestHeader('Content-Type', 'text/plain;charset=UTF-8');
Expand Down
Loading

0 comments on commit f50f558

Please sign in to comment.