Skip to content

Commit

Permalink
also using base url as endpoint in order to use aws s3 compatible alt…
Browse files Browse the repository at this point in the history
…ernatives (#23)
  • Loading branch information
David Poetzsch-Heffter authored and flovilmart committed Sep 17, 2016
1 parent eaed388 commit bb933cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ function S3Adapter() {
let s3Options = {
params: { Bucket: this._bucket },
region: this._region,
endpoint: this._baseUrl,
s3BucketEndpoint: !!this._baseUrl,
signatureVersion: this._signatureVersion,
globalCacheControl: this._globalCacheControl
};
Expand Down

0 comments on commit bb933cc

Please sign in to comment.