Skip to content

Commit b891a6d

Browse files
committed
op.get_new_uptoken
1 parent 734c6ca commit b891a6d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/qiniu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ function QiniuJsSDK() {
660660
};
661661

662662
var getUptoken = function(file) {
663-
if (!that.token || that.tokenInfo.isExpired()) {
663+
if (op.get_new_uptoken || !that.token || that.tokenInfo.isExpired()) {
664664
return getNewUpToken(file);
665665
} else {
666666
return that.token;

0 commit comments

Comments
 (0)