s3: add missing extra options (#4176)
This commit is contained in:
parent
226c9f5a75
commit
59c99e9bf9
|
|
@ -59,6 +59,8 @@ export default class S3Plugin extends SitespeedioPlugin {
|
|||
const s3CLientOptions = {
|
||||
region: this.s3Options.region
|
||||
};
|
||||
Object.assign(s3CLientOptions, this.s3Options.options);
|
||||
|
||||
if (this.s3Options.endpoint) {
|
||||
s3CLientOptions.endpoint = this.s3Options.endpoint;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue