Comparing version 0.0.5 to 0.0.6
@@ -23,3 +23,5 @@ var sha256 = require('crypto-js/sha256'); | ||
const service = 's3'; | ||
const host = `${bucket}.${service}.${this.region}.${this.domain}`; | ||
const host = (this.domain !== 'digitaloceanspaces.com') | ||
? `${bucket}.${service}.${this.region}.${this.domain}` | ||
: `${bucket}.${this.region}.${this.domain}` | ||
@@ -26,0 +28,0 @@ const endpoint = `https://${host}${path}`; |
{ | ||
"name": "amazon-s3", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Read and write to AWS S3 using fetch()", | ||
@@ -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
6036
70