Comparing version 6.1.12 to 6.1.13
## CHANGE LOG | ||
### v6.1.13 | ||
2016-10-13 | ||
- 修正从uptoken获取bucket | ||
### v6.1.12 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "qiniu", | ||
"version": "6.1.12", | ||
"version": "6.1.13", | ||
"description": "Node wrapper for Qiniu Resource (Cloud) Storage API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -22,4 +22,6 @@ var request = require('sync-request'); | ||
var json_tokenPolicyStr = JSON.parse(tokenPolicyStr); | ||
var bucket = json_tokenPolicyStr.scope; | ||
var scope = json_tokenPolicyStr.scope; | ||
var bucket = scope.toString().split(":")[0]; | ||
// bucket 相同,上传域名仍在过期时间内 | ||
@@ -26,0 +28,0 @@ if((new Date().getTime() < conf.EXPIRE) && bucket == conf.BUCKET){ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37062
774