|
@@ -37,13 +37,6 @@ export interface S3Config {
|
|
|
* The S3 bucket in which to store the assets. If it does not exist, it will be created on startup.
|
|
* The S3 bucket in which to store the assets. If it does not exist, it will be created on startup.
|
|
|
*/
|
|
*/
|
|
|
bucket: string;
|
|
bucket: string;
|
|
|
- /**
|
|
|
|
|
- * @description
|
|
|
|
|
- * The AWS region in which to host the assets.
|
|
|
|
|
- * @deprecated
|
|
|
|
|
- * Use nativeS3Configuration instead.
|
|
|
|
|
- */
|
|
|
|
|
- region?: string;
|
|
|
|
|
/**
|
|
/**
|
|
|
* @description
|
|
* @description
|
|
|
* Configuration object passed directly to the AWS SDK.
|
|
* Configuration object passed directly to the AWS SDK.
|
|
@@ -146,7 +139,6 @@ export class S3AssetStorageStrategy implements AssetStorageStrategy {
|
|
|
|
|
|
|
|
const config = {
|
|
const config = {
|
|
|
credentials: this.getS3Credentials(),
|
|
credentials: this.getS3Credentials(),
|
|
|
- region: this.s3Config.region,
|
|
|
|
|
...this.s3Config.nativeS3Configuration,
|
|
...this.s3Config.nativeS3Configuration,
|
|
|
};
|
|
};
|
|
|
this.s3 = new this.AWS.S3(config);
|
|
this.s3 = new this.AWS.S3(config);
|