Comparing version 1.0.1 to 1.0.2
@@ -30,3 +30,7 @@ const RestClient = require('bblib/rest-client'); | ||
super(_.defaultsDeep(rest, {defaults: {baseUrl: endPoint}})); | ||
let baseUrl = endPoint; | ||
if (bucketName) { | ||
baseUrl = path.join(endPoint, bucketName); | ||
} | ||
super(_.defaultsDeep(rest, {defaults: {baseUrl}})); | ||
@@ -33,0 +37,0 @@ this.opts = opts; |
{ | ||
"name": "oss-api", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "simple aliyun oss api client, save you from the problematic SDK", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
5929
142