s3: add missing extra options (#4176)

This commit is contained in:
Peter Hedenskog 2024-06-05 19:05:08 +02:00 committed by GitHub
parent 226c9f5a75
commit 59c99e9bf9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}